mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Add support for DW_OP_bit_piece and DW_OP_plus_uconst to DWARF assembler.
https://sourceware.org/ml/gdb-patches/2013-12/msg00143.html gdb/testsuite/ChangeLog * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and DW_OP_plus_uconst.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-12-06 Andrew Burgess <aburgess@broadcom.com>
|
||||||
|
|
||||||
|
* lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
|
||||||
|
DW_OP_plus_uconst.
|
||||||
|
|
||||||
2013-12-06 Keven Boell <keven.boell@intel.com>
|
2013-12-06 Keven Boell <keven.boell@intel.com>
|
||||||
|
|
||||||
* lib/mi-support.exp (mi_list_varobj_children_range): Add
|
* lib/mi-support.exp (mi_list_varobj_children_range): Add
|
||||||
|
@ -716,10 +716,19 @@ namespace eval Dwarf {
|
|||||||
_op .sleb128 [lindex $line 1]
|
_op .sleb128 [lindex $line 1]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DW_OP_plus_uconst {
|
||||||
|
_op .uleb128 [lindex $line 1]
|
||||||
|
}
|
||||||
|
|
||||||
DW_OP_piece {
|
DW_OP_piece {
|
||||||
_op .uleb128 [lindex $line 1]
|
_op .uleb128 [lindex $line 1]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DW_OP_bit_piece {
|
||||||
|
_op .uleb128 [lindex $line 1]
|
||||||
|
_op .uleb128 [lindex $line 2]
|
||||||
|
}
|
||||||
|
|
||||||
DW_OP_GNU_implicit_pointer {
|
DW_OP_GNU_implicit_pointer {
|
||||||
if {[llength $line] != 3} {
|
if {[llength $line] != 3} {
|
||||||
error "usage: DW_OP_GNU_implicit_pointer LABEL OFFSET"
|
error "usage: DW_OP_GNU_implicit_pointer LABEL OFFSET"
|
||||||
|
Reference in New Issue
Block a user