diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-14 10:02:34 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2021-04-14 12:49:22 +0200 |
commit | ac4d323ea04501ad1c4eba77635b3f122c90ef85 (patch) | |
tree | b13157cf2b6c14d4b7fe575ee29cd53f74b56db6 /gdb | |
parent | 5f47741bf633596475bb8fbb0ed304be318362cd (diff) | |
download | binutils-ac4d323ea04501ad1c4eba77635b3f122c90ef85.zip binutils-ac4d323ea04501ad1c4eba77635b3f122c90ef85.tar.gz binutils-ac4d323ea04501ad1c4eba77635b3f122c90ef85.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/dwarf.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b8c84aa..a7fadbd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp index f6a3574..e4dc284 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" |