aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-05 04:59:28 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-05 04:59:28 +0000
commitc263362b613c1d25d2aa598512950b13cdf9daed (patch)
tree78d11c799927e962169e89531df759d912c8a91e /gdb
parentb4e9345dbe3c9445b666e032f5ab7ed247eb4249 (diff)
downloadgdb-c263362b613c1d25d2aa598512950b13cdf9daed.zip
gdb-c263362b613c1d25d2aa598512950b13cdf9daed.tar.gz
gdb-c263362b613c1d25d2aa598512950b13cdf9daed.tar.bz2
* stabsread.c (update_method_name_from_physname): Call complaint()
instead of error.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stabsread.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 774ac88..0cdae23 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
+ * stabsread.c (update_method_name_from_physname): Call complaint()
+ instead of error.
+
+2003-01-04 Daniel Jacobowitz <drow@mvista.com>
+
* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index b74f52b..7d4459e 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)
{