[Bug symtab/21470] gdb producer-sniffs for "clang"

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Wed May 10 23:53:00 GMT 2017


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

More information about the Gdb-prs mailing list