mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
gdb/
* dwarf2loc.c (disassemble_dwarf_expression): Handle DW_OP_GNU_parameter_ref.
This commit is contained in:
parent
d76b7dbc5f
commit
a24f71abb4
@ -1,3 +1,8 @@
|
||||
2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* dwarf2loc.c (disassemble_dwarf_expression): Handle
|
||||
DW_OP_GNU_parameter_ref.
|
||||
|
||||
2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid
|
||||
|
@ -3797,6 +3797,12 @@ disassemble_dwarf_expression (struct ui_file *stream,
|
||||
data += ul;
|
||||
continue;
|
||||
|
||||
case DW_OP_GNU_parameter_ref:
|
||||
ul = extract_unsigned_integer (data, 4, gdbarch_byte_order (arch));
|
||||
data += 4;
|
||||
fprintf_filtered (stream, " offset %s", phex_nz (ul, 4));
|
||||
break;
|
||||
|
||||
case DW_OP_GNU_addr_index:
|
||||
data = safe_read_uleb128 (data, end, &ul);
|
||||
ul = dwarf2_read_addr_index (per_cu, ul);
|
||||
|
Loading…
Reference in New Issue
Block a user