Re: Macro expansion: GCC 3.4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 > and in gdb, if you use "macro expand NCR", does it work?

It just gives:

(gdb) macro expand NCR
expands to: NCR

but I think we're getting closer.  "info macro NCR" gives:

(gdb) info macro NCR
The symbol `NCR' has no definition as a C/C++ preprocessor macro
at /usr/include/stdlib.h:-1

with both GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
and GNU gdb 6.3.90-20051104-cvs

GDB is looking in the wrong place, but does GCC tell it where to look?

Nick

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux