[PATCH v2 1/2] testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp
Tankut Baris Aktemur
tankut.baris.aktemur@intel.com
Wed Apr 14 08:14:30 GMT 2021
gdb/testsuite/ChangeLog:
2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
---
gdb/testsuite/lib/dwarf.exp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index f6a35749cab..e4dc284f4ee 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -1211,6 +1211,11 @@ namespace eval Dwarf {
_op .sleb128 $argvec(offset)
}
+ DW_OP_fbreg {
+ _get_args $line $opcode offset
+ _op .sleb128 $argvec(offset)
+ }
+
default {
if {[llength $line] > 1} {
error "Unimplemented: operands in location for $opcode"
--
2.17.1
More information about the Gdb-patches
mailing list