aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2013-04-29 09:52:07 +0000
committerPierre Muller <muller@sourceware.org>2013-04-29 09:52:07 +0000
commitb385a60dc43ac7615b7eaf77e2c5afea4ecc55c7 (patch)
tree2fda57e029570abb736febe3e10efb1729a666f3 /gdb
parentaba8c3de87953e47e5ab45f63789363a22aa0841 (diff)
downloadgdb-b385a60dc43ac7615b7eaf77e2c5afea4ecc55c7.zip
gdb-b385a60dc43ac7615b7eaf77e2c5afea4ecc55c7.tar.gz
gdb-b385a60dc43ac7615b7eaf77e2c5afea4ecc55c7.tar.bz2
* dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
editCase function rule. (get_DW_AT_signature_type): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/dwarf2read.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 09d1795..9839e52 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2013-04-29 Pierre Muller <muller@sourceware.org>
+ * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for
+ editCase function rule.
+ (get_DW_AT_signature_type): Likewise.
+
+2013-04-29 Pierre Muller <muller@sourceware.org>
+
* ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error.
2013-04-29 Joel Brobecker <brobecker@adacore.com>
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index bd162e6..8dcf971 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -8053,7 +8053,7 @@ find_file_and_directory (struct die_info *die, struct dwarf2_cu *cu,
static void
handle_DW_AT_stmt_list (struct die_info *die, struct dwarf2_cu *cu,
- const char *comp_dir)
+ const char *comp_dir) /* ARI: editCase function */
{
struct attribute *attr;
@@ -17924,8 +17924,8 @@ get_signatured_type (struct die_info *die, ULONGEST signature,
reading in and processing the type unit if necessary. */
static struct type *
-get_DW_AT_signature_type /* ARI: editCase */
- (struct die_info *die, struct attribute *attr, struct dwarf2_cu *cu)
+get_DW_AT_signature_type (struct die_info *die, struct attribute *attr,
+ struct dwarf2_cu *cu) /* ARI: editCase function */
{
/* Yes, DW_AT_signature can use a non-ref_sig8 reference. */
if (is_ref_attr (attr))