From b385a60dc43ac7615b7eaf77e2c5afea4ecc55c7 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 29 Apr 2013 09:52:07 +0000 Subject: [PATCH] * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for editCase function rule. (get_DW_AT_signature_type): Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/dwarf2read.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09d1795d5c7..9839e52ad7e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2013-04-29 Pierre Muller + + * 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 * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index bd162e6e99e..8dcf9719cbd 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)) -- 2.30.2