Xref: news2.mv.net comp.os.msdos.djgpp:2219 From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Where functions belong... Date: Wed, 27 Mar 1996 18:14:13 CST Organization: Rice University, Houston, Texas Lines: 12 Message-ID: <3159d9d5.sandmann@clio.rice.edu> References: <199603270923 DOT BAA28612 AT sirius DOT cs DOT pdx DOT edu> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > However, the problem that I now have is that my stub for functino 0x0300 > (simulate real mode interrupt) crashes when called from the DXE, but not > when called from a normal executable. I suspect you are referencing a global variable somehow which isn't being set up. The register listing and a disassembly of the line should make it obvious what the problem is. > I see no way to debug a DXE as GDB won't even give a disassembly of the DXE > because it's not on the load module's text segment! Use EDEBUG32 - it doesn't have this limitation.