This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What exactly does is_variable_sized test for?


On Feb 22, 2012, at 9:28 PM, Amittai Aviram wrote:

> On Feb 22, 2012, at 8:19 PM, Ian Lance Taylor wrote:
> 
>> Amittai Aviram <amittai.Aviram@yale.edu> writes:
>> 
>>> Thanks a lot for the explanation and the advice.  I do have to unpack the macros sometimes when I want to verify a value while running GCC under GDB.
>> 
>> Look at gcc/gdbinit.in for convenient ways to dump the internal
>> representation when running under gdb.
>> 
>> Ian
> 
> 
> Sorry--this looks interesting, but I do not understand exactly how to use it.  Which are the commands and what are the arguments?  What does "$" mean?  I didn't see anything about this on the DebuggingGCC Wiki.  Thanks!
> 

Oops!  I should have searched before posting!  Anyway, for anybody else out there who might find it helpful:

http://www.ibm.com/developerworks/aix/library/au-gdb.html

This explains a bit about how gdbinit works with GDB.




Amittai Aviram
PhD Student in Computer Science
Yale University
646 483 2639
amittai.aviram@yale.edu
http://www.amittai.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]