This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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] |
On 17/03/15 18:56, Florian Weimer wrote: > On 03/17/2015 08:40 AM, Joshua Rogers wrote: >> > On 17/03/15 07:49, Florian Weimer wrote: >>> >> That's expected, see the header files. st_mtime is an alias for >>> >> st_mtim.tv_sec. >> > Would this be a bug in gdb, then? > st_mtime is a preprocessor macro. I don't think GDB is supposed to > handle those. Yes, you seem to be right: https://sourceware.org/gdb/onlinedocs/gdb/Macros.html#fnd-1 "Now, we compile the program using the gnu C compiler, gcc. We pass the -gdwarf-21 and -g3 flags to ensure the compiler includes information about preprocessor macros in the debugging information. " Thanks, -- -- Joshua Rogers <https://internot.info/>
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |