delorie.com/archives/browse.cgi | search |
Message-ID: | <323ED3B1.3174@cs.pdx.edu> |
Date: | Tue, 17 Sep 1996 16:37:05 +0000 |
From: | Ian Romanick <idr AT cs DOT pdx DOT edu> |
MIME-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Debug before main? |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |