Extend the Dejagnu DWARF compiler to support DW_LNS_set_file opcode.
This will be used in a later commit. There should be no change in the
testsuite after this commit.
gdb/testsuite/ChangeLog:
* lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
function.
+2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
+ function.
+
2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
* lib/dwarf.exp (function_range): Allow compiler options to be
_op .sleb128 ${offset}
}
+ proc DW_LNS_set_file {num} {
+ _op .byte 4
+ _op .sleb128 ${num}
+ }
+
foreach statement $statements {
uplevel 1 $statement
}