]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Moan but don't die on unhandled stabs cases.
authorJulian Seward <jseward@acm.org>
Mon, 20 May 2002 23:39:22 +0000 (23:39 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 20 May 2002 23:39:22 +0000 (23:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@298

coregrind/vg_symtab2.c
vg_symtab2.c

index eb3b39428de2ad6c398a1780e2662dcd48cb7e1f..e5e40c835a4f3f382083530804f9cab74b9c945a 100644 (file)
@@ -1045,9 +1045,11 @@ void vg_read_lib_symbols ( SegInfo* si )
                      }
 
                   default:
-                     VG_(printf)("unhandled stabs case: %d %d", 
+                     VG_(printf)("unhandled (other) stabs case: %d %d", 
                                  stab[i+1].n_type,i);
-                     VG_(panic)("unhandled (other) stabs case");
+                     /* VG_(panic)("unhandled (other) stabs case"); */
+                     next_addr = this_addr + 4;
+                     break;
                }
             }
             
index eb3b39428de2ad6c398a1780e2662dcd48cb7e1f..e5e40c835a4f3f382083530804f9cab74b9c945a 100644 (file)
@@ -1045,9 +1045,11 @@ void vg_read_lib_symbols ( SegInfo* si )
                      }
 
                   default:
-                     VG_(printf)("unhandled stabs case: %d %d", 
+                     VG_(printf)("unhandled (other) stabs case: %d %d", 
                                  stab[i+1].n_type,i);
-                     VG_(panic)("unhandled (other) stabs case");
+                     /* VG_(panic)("unhandled (other) stabs case"); */
+                     next_addr = this_addr + 4;
+                     break;
                }
             }