From: Pierre Muller Date: Mon, 29 Apr 2013 09:52:07 +0000 (+0000) Subject: * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b385a60dc43ac7615b7eaf77e2c5afea4ecc55c7;p=binutils-gdb.git * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for editCase function rule. (get_DW_AT_signature_type): Likewise. --- 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))