Re: evaluating #defines in gdb?

From: Trey T. Morita (
Date: 11/03/95

> Trey T. Morita pounded furiously on the keyboard:
> > #define GET_STR(ch)     ((ch)->aff_abils.str)
> > There's no real way to sub a const declaration for this, now, is there?
> 	Well, it's not a total loss if you're using gcc and gdb;
> apparently gcc supports a -ggdb# where # specifies the level of
> debugging information you want added to the generated binaries.  The
> highest level, 3, _supposedly_ groks macro definitions, too.  But,
> I've never tried this, so I don't know how well this works, if it does
> at all.  YMMV!  =8-)
Wow, thanks, I'll give it a shot! I wonder what the effects of using that 
flag is, like, does the resulting binary swell even more in size?


This archive was generated by hypermail 2b30 : 12/07/00 PST