From: Tankut Baris Aktemur Date: Wed, 14 Apr 2021 08:02:34 +0000 (+0200) Subject: testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac4d323ea04501ad1c4eba77635b3f122c90ef85;p=binutils-gdb.git testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp gdb/testsuite/ChangeLog: 2021-04-14 Tankut Baris Aktemur * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b8c84aaa57f..a7fadbdabde 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-04-14 Tankut Baris Aktemur + + * lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op. + 2021-04-12 Will Schmidt * gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords. 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"