[PATCHv2 2/2] gdb: Add support for tracking the DWARF line table is-stmt field
Tom Tromey
tom@tromey.com
Tue Mar 17 20:18:43 GMT 2020
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> + /* If the previous entry is for the same line, at the same pc, and
Andrew> + is marked as a statement, while we are trying to add a
Andrew> + non-statement, then lets just drop this new non-statement. */
I didn't try it yet, but I suspect it won't work, because the readelf
output up-thread showed that the 2nd r.h line was not a statement:
File name Line number Starting address View Stmt
[...]
r.h 6 0x80000042 2 x
r.h 6 0x80000042 3
Tom
More information about the Gdb-patches
mailing list