From: Nicholas Nethercote Date: Fri, 15 Dec 2006 04:37:25 +0000 (+0000) Subject: Remove defunct constant. X-Git-Tag: svn/VALGRIND_3_3_0~485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52dfe4cb398925ec24ec51ee750540287f5402b4;p=thirdparty%2Fvalgrind.git Remove defunct constant. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6401 --- diff --git a/include/pub_tool_tooliface.h b/include/pub_tool_tooliface.h index ecdad5fc8e..be530a4b1e 100644 --- a/include/pub_tool_tooliface.h +++ b/include/pub_tool_tooliface.h @@ -445,7 +445,7 @@ extern void VG_(needs_xml_output)( void ); /* Part of the core from which this call was made. Useful for determining what kind of error message should be emitted. */ typedef - enum { Vg_CoreStartup, Vg_CorePThread, Vg_CoreSignal, Vg_CoreSysCall, + enum { Vg_CoreStartup, Vg_CoreSignal, Vg_CoreSysCall, Vg_CoreTranslate, Vg_CoreClientReq } CorePart; diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index 85986224db..0db5b625ca 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -2468,7 +2468,6 @@ void check_mem_is_addressable ( CorePart part, ThreadId tid, Char* s, /*isUnaddr*/True, s ); break; - case Vg_CorePThread: case Vg_CoreSignal: mc_record_core_mem_error( tid, /*isUnaddr*/True, s ); break; @@ -2496,7 +2495,6 @@ void check_mem_is_defined ( CorePart part, ThreadId tid, Char* s, break; case Vg_CoreClientReq: // Kludge: make this a CoreMemErr - case Vg_CorePThread: mc_record_core_mem_error( tid, isUnaddr, s ); break;