This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/19487] Result of call to __errno_location() is truncated to 32 bit on amd64
- From: "b7.10110111 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 18 Jan 2016 15:39:10 +0000
- Subject: [Bug gdb/19487] Result of call to __errno_location() is truncated to 32 bit on amd64
- Auto-submitted: auto-generated
- References: <bug-19487-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19487
--- Comment #3 from Ruslan <b7.10110111 at gmail dot com> ---
(In reply to Pedro Alves from comment #2)
> What does:
>
> (gdb) ptype __errno_location
>
> say? I think you'll get this if you don't have debug info for
> __errno_location, and then gdb assumes the function return "int" (not "int
> *").
It says `type = int ()`, both with debug info ("gcc -g") and without.
--
You are receiving this mail because:
You are on the CC list for the bug.