Message-ID: <323ED3B1.3174@cs.pdx.edu> Date: Tue, 17 Sep 1996 16:37:05 +0000 From: Ian Romanick MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Debug before main? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is there any way to use GDB to debug a program before main is called? I'm writing a malloc() replacement, and my code is crashing before it gets to main. However, if I put a breakpoint a my malloc(), it just gets ignored. I can debug just fine with edebug32, but I find GDB to be far superior. Is this another of those cases where GDB just won't work? If it is, it might should be added to the FAQ.