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@xxxxxxxx> 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@xxxxxxxx http://www.amittai.com