From c263362b613c1d25d2aa598512950b13cdf9daed Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 5 Jan 2003 04:59:28 +0000 Subject: [PATCH] * stabsread.c (update_method_name_from_physname): Call complaint() instead of error. --- gdb/ChangeLog | 5 +++++ gdb/stabsread.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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) { -- 2.30.2