From ac4d323ea04501ad1c4eba77635b3f122c90ef85 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Wed, 14 Apr 2021 10:02:34 +0200 Subject: 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/dwarf.exp | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'gdb') 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 + + * 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 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" -- cgit v1.1