]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove defunct constant.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 15 Dec 2006 04:37:25 +0000 (04:37 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 15 Dec 2006 04:37:25 +0000 (04:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6401

include/pub_tool_tooliface.h
memcheck/mc_main.c

index ecdad5fc8e900e55f3ca1483ecefa506adb2e4de..be530a4b1eaf6690ec1b6e207c1116119de2a484 100644 (file)
@@ -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;
 
index 85986224db0a03064e4f4b97ccb4968abda7c99a..0db5b625caa3a75416226279bb431087edfacb2c 100644 (file)
@@ -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;