* stabsread.c (update_method_name_from_physname): Call complaint()
authorDaniel Jacobowitz <drow@false.org>
Sun, 5 Jan 2003 04:59:28 +0000 (04:59 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 5 Jan 2003 04:59:28 +0000 (04:59 +0000)
instead of error.

gdb/ChangeLog
gdb/stabsread.c

index 774ac880ead43ecd2c11ddcc6a5bf080adaa88cd..0cdae238669cb924b09d6730031c460b9fa889e2 100644 (file)
@@ -1,3 +1,8 @@
+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.
index b74f52befda314d73636f0f66cccd94bff75547b..7d4459e4139460c24b8ffde11269dae4c51a4b53 100644 (file)
@@ -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)
     {