libresolv with getaddrinfo (With valid bug report?)

Joshua Rogers glibc@internot.info
Tue Mar 17 08:02:00 GMT 2015


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/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-help/attachments/20150317/7a8fc6b8/attachment.sig>


More information about the Libc-help mailing list