This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] entryval: 'info addr' printing of DW_OP_GNU_parameter_ref


Hi,

it was just forgotten, implemented it.

Checked in.

No regressions on {x86_64,x86_64-m32,i686}-fedorarawhide-linux-gnu.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2012-07/msg00095.html

--- src/gdb/ChangeLog	2012/07/13 20:14:58	1.14461
+++ src/gdb/ChangeLog	2012/07/13 20:15:50	1.14462
@@ -1,5 +1,10 @@
 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
 	read-in CALL_SITE_PARAMETER_PARAM_OFFSET.
 
--- src/gdb/dwarf2loc.c	2012/06/19 00:37:18	1.151
+++ src/gdb/dwarf2loc.c	2012/07/13 20:15:50	1.152
@@ -3797,6 +3797,12 @@
 	  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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]