From: Julian Seward Date: Mon, 20 May 2002 23:39:22 +0000 (+0000) Subject: Moan but don't die on unhandled stabs cases. X-Git-Tag: svn/VALGRIND_1_0_3~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e94fafab48595e35944069f464dc67a24613632;p=thirdparty%2Fvalgrind.git Moan but don't die on unhandled stabs cases. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@298 --- diff --git a/coregrind/vg_symtab2.c b/coregrind/vg_symtab2.c index eb3b39428d..e5e40c835a 100644 --- a/coregrind/vg_symtab2.c +++ b/coregrind/vg_symtab2.c @@ -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; } } diff --git a/vg_symtab2.c b/vg_symtab2.c index eb3b39428d..e5e40c835a 100644 --- a/vg_symtab2.c +++ b/vg_symtab2.c @@ -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; } }