From: Daniel Jacobowitz Date: Sun, 5 Jan 2003 04:59:28 +0000 (+0000) Subject: * stabsread.c (update_method_name_from_physname): Call complaint() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c263362b613c1d25d2aa598512950b13cdf9daed;p=binutils-gdb.git * stabsread.c (update_method_name_from_physname): Call complaint() instead of error. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 774ac880ead..0cdae238669 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-01-04 Daniel Jacobowitz + + * stabsread.c (update_method_name_from_physname): Call complaint() + instead of error. + 2003-01-04 Daniel Jacobowitz * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test. diff --git a/gdb/stabsread.c b/gdb/stabsread.c index b74f52befda..7d4459e4139 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2985,7 +2985,11 @@ update_method_name_from_physname (char **old_name, char *physname) method_name = method_name_from_physname (physname); if (method_name == NULL) - error ("bad physname %s\n", physname); + { + complaint (&symfile_complaints, + "Method has bad physname %s\n", physname); + return; + } if (strcmp (*old_name, method_name) != 0) {