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/21473] wrong type info for extern inline function when debugging Emacs


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.

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