* dwarf2loc.c (disassemble_dwarf_expression): Handle
	DW_OP_GNU_parameter_ref.
This commit is contained in:
Jan Kratochvil 2012-07-13 20:15:50 +00:00
parent d76b7dbc5f
commit a24f71abb4
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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);