This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug gdb/19487] Result of call to __errno_location() is truncated to 32 bit on amd64


https://sourceware.org/bugzilla/show_bug.cgi?id=19487

--- Comment #5 from Ruslan <b7.10110111 at gmail dot com> ---
Tracing into __errno_location reveals that actual implementation is in
__GI___errno_location, into which the _dl_runtime_resolve RETs. For
__GI___errno_location I do have line numbers and file name showed. Still, for
__errno_location the result is as it was, unlike for __GI___errno_location:

(gdb) ptype __errno_location
type = int ()
(gdb) ptype __GI___errno_location
type = int *(void)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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