diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-01-05 04:59:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-01-05 04:59:28 +0000 |
commit | c263362b613c1d25d2aa598512950b13cdf9daed (patch) | |
tree | 78d11c799927e962169e89531df759d912c8a91e /gdb/stabsread.c | |
parent | b4e9345dbe3c9445b666e032f5ab7ed247eb4249 (diff) | |
download | gdb-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/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |