From: Nicholas Nethercote Date: Sat, 12 Mar 2005 06:04:07 +0000 (+0000) Subject: Remove dead code. X-Git-Tag: svn/VALGRIND_3_0_0~1022 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fb220d3971ad573de81b6e562b8657fa08e869e;p=thirdparty%2Fvalgrind.git Remove dead code. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3296 --- diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c index 908d4f9ad2..079763c47d 100644 --- a/coregrind/vg_memory.c +++ b/coregrind/vg_memory.c @@ -1089,14 +1089,6 @@ void VG_(unknown_SP_update)( Addr old_SP, Addr new_SP ) } } -static jmp_buf segv_jmpbuf; - -static void segv_handler(Int seg) -{ - __builtin_longjmp(segv_jmpbuf, 1); - VG_(core_panic)("longjmp failed"); -} - /* Test if a piece of memory is addressable with at least the "prot" protection permissions by examining the underlying segments.