[PATCH 2/2] gdb: Add support for tracking the DWARF line table is-stmt field

Bernd Edlinger bernd.edlinger@hotmail.de
Mon Feb 10 18:30:00 GMT 2020


Hi,

I just did a rebase of your patch, (and was surprised that it worked),
but got an interesting message from git:

First, rewinding head to replay your work on top of it...
Applying: - is-stmt patch
Using index info to reconstruct a base tree...
A	gdb/dwarf2read.c
<stdin>:874: space before tab in indent.
 		 [expr [gdb_get_line_number "main end"] \
<stdin>:1128: space before tab in indent.
 		 [expr [gdb_get_line_number "main, set var to 0"] \
<stdin>:1143: space before tab in indent.
 		 [expr [gdb_get_line_number "main end"] \
warning: 3 lines add whitespace errors.
Falling back to patching base and 3-way merge...
Auto-merging gdb/dwarf2/read.c


and indeed there are SPACE followed by TAB in
gdb/testsuite/gdb.dwarf2/dw2-is-stmt-2.exp

not sure if that is only because I copied these lines
out of the E-mail and messed it up by doing so, or if the whitespace
is wrong in the original patch as well.


Thanks
Bernd.



More information about the Gdb-patches mailing list