diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-13 20:15:50 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-13 20:15:50 +0000 |
commit | a24f71abb4b5c2785619a809d6dfbe0ba42ef769 (patch) | |
tree | 3acb4d9cfa1075045dbc3bc44de42f767ab4f611 /gdb/dwarf2loc.c | |
parent | d76b7dbc5f5faacd9804b8aa387858a41eb20488 (diff) | |
download | gdb-a24f71abb4b5c2785619a809d6dfbe0ba42ef769.zip gdb-a24f71abb4b5c2785619a809d6dfbe0ba42ef769.tar.gz gdb-a24f71abb4b5c2785619a809d6dfbe0ba42ef769.tar.bz2 |
gdb/
* dwarf2loc.c (disassemble_dwarf_expression): Handle
DW_OP_GNU_parameter_ref.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 6feeab6..38e4814 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -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); |