testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp

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.
This commit is contained in:
Tankut Baris Aktemur 2021-04-14 10:02:34 +02:00
parent 5f47741bf6
commit ac4d323ea0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* lib/dwarf.exp (_location): Recognize DW_OP_fbreg as an op.
2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com>
* gdb.arch/powerpc-vsx-regs.exp: Initialize vs* doublewords.

View File

@ -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"