Re: evaluating #defines in gdb?

From: Kevin P. Cook (scatter@onramp.net)
Date: 11/05/95


On Wed, 1 Nov 1995, Trey T. Morita wrote:

> Whenever I use gdb, I keep trying to print stuff like GET_STR(ch), and 
> since GET_STR is a #define, gdb just scratches its head and shrugs. Any 
> way to make gdb spot all those defines in utils.h or am I stuck looking 
> it up and then printing ch->playerwhatever.str?
> 
> Trey


_SUPPOSEDLY_ using the -ggdb3 command line switch on gcc should allow for 
this activity...but alas, I've not been successfull with it. :(

Julien



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