summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trunk/ChangeLog6
-rw-r--r--trunk/src/dwarf2.c1
-rw-r--r--trunk/src/dwarf2.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 59a7362..649aff0 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-22 Jakub Jelinek <jakub@redhat.com>
+
+ * src/dwarf2.h (DW_OP_GNU_parameter_ref): Define.
+ * src/dwarf2.c (adjust_location_list): Handle
+ DW_OP_GNU_parameter_ref.
+
2011-05-11 Jakub Jelinek <jakub@redhat.com>
* src/dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
diff --git a/trunk/src/dwarf2.c b/trunk/src/dwarf2.c
index 60f7f89..2da3d4f 100644
--- a/trunk/src/dwarf2.c
+++ b/trunk/src/dwarf2.c
@@ -369,6 +369,7 @@ adjust_location_list (DSO *dso, struct cu_data *cu, unsigned char *ptr,
case DW_OP_const4u:
case DW_OP_const4s:
case DW_OP_call4:
+ case DW_OP_GNU_parameter_ref:
ptr += 4;
break;
case DW_OP_call_ref:
diff --git a/trunk/src/dwarf2.h b/trunk/src/dwarf2.h
index a10d3a6..97864fb 100644
--- a/trunk/src/dwarf2.h
+++ b/trunk/src/dwarf2.h
@@ -418,6 +418,7 @@
#define DW_OP_GNU_deref_type 0xf6
#define DW_OP_GNU_convert 0xf7
#define DW_OP_GNU_reinterpret 0xf9
+#define DW_OP_GNU_parameter_ref 0xfa
#define DW_OP_lo_user 0xe0
#define DW_OP_hi_user 0xff