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 symtab/21470] gdb producer-sniffs for "clang"


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

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
One specific regression is gdb.ada/ref_param.exp, which fails because
gdb starts believing the DWARF line table.  But I think the line table
is correct and the test might be wrong.

CU: /home/tromey/gdb/binutils-gdb/gdb/testsuite/gdb.ada/ref_param/pck.adb:
File name                            Line number    Starting address
pck.adb                                       18            0x4012be

pck.adb                                       18            0x4012be

pck.adb                                       20            0x4012c6
pck.adb                                       21            0x4012d7
pck.adb                                       23            0x4012e5


With my current patch, the breakpoint is set on line 18.
Without it, it is set at line 20.

Doesn't line 18 seem correct though?

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