GDB-attach cleanups.  Have our own system() so we don't have to use
glibc's, and tell the user if starting GDB failed for some reason.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@115 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_include.h b/vg_include.h
index ee7adfa..13e3f01 100644
--- a/vg_include.h
+++ b/vg_include.h
@@ -716,7 +716,11 @@
             __attribute__ ((__noreturn__));
 
 /* Get memory by anonymous mmap. */
-void* VG_(get_memory_from_mmap) ( Int nBytes );
+extern void* VG_(get_memory_from_mmap) ( Int nBytes );
+
+/* Crude stand-in for the glibc system() call. */
+extern Int VG_(system) ( Char* cmd );
+
 
 /* Signal stuff.  Note that these use the vk_ (kernel) structure
    definitions, which are different in places from those that glibc