From: Jan Kratochvil Date: Fri, 13 Jul 2012 20:15:50 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a24f71abb4b5c2785619a809d6dfbe0ba42ef769;p=binutils-gdb.git gdb/ * dwarf2loc.c (disassemble_dwarf_expression): Handle DW_OP_GNU_parameter_ref. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 48ace52e766..dec252b8557 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-07-13 Jan Kratochvil + + * dwarf2loc.c (disassemble_dwarf_expression): Handle + DW_OP_GNU_parameter_ref. + 2012-07-13 Jan Kratochvil * dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 6feeab607c8..38e4814be8c 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);