This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/21473] wrong type info for extern inline function when debugging Emacs
- From: "eggert at cs dot ucla.edu" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 28 Oct 2018 19:48:24 +0000
- Subject: [Bug gdb/21473] wrong type info for extern inline function when debugging Emacs
- Auto-submitted: auto-generated
- References: <bug-21473-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21473
eggert at cs dot ucla.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eggert at cs dot ucla.edu
Version|7.12.1 |8.1.1
--- Comment #1 from eggert at cs dot ucla.edu ---
(In reply to Paul Eggert from comment #0)
I tried the same test case on x86-64 GDB Fedora 8.1.1-3.fc28, with the test
program compiled with GCC 8.2.1 20181011 (Red Hat 8.2.1-4), and got different
(though still incorrect) results:
(gdb) ptype make_number
type = struct {
long i;
} (long)
(gdb) ptype make_natnum
type = <unknown return type> ()
(gdb) ptype XIL
type = struct {
long i;
} (long)
(gdb)
Now, make_number and XIL are done right, but make_natnum's return type is not
known. I will update the version number of this bug report to GDB 8.1.1.
--
You are receiving this mail because:
You are on the CC list for the bug.