import gdb-1999-08-23 snapshot
[deliverable/binutils-gdb.git] / gdb / i386-stub.c
index 768f00c3c8e22414e42845171ee926d6f43e05ec..b05170b4b111fc4a39ce2184c79ecd1d57b4a26d 100644 (file)
@@ -116,8 +116,6 @@ static char initialized;  /* boolean flag. != 0 means we've been initialized */
 int     remote_debug;
 /*  debug >  0 prints ill-formed commands in valid packets & checksum errors */
 
-void waitabit();
-
 static const char hexchars[]="0123456789abcdef";
 
 /* Number of registers.  */
@@ -893,12 +891,7 @@ int exception;
       exceptionHook    = remcomHandler;
   }
 
-  /* In case GDB is started before us, ack any packets (presumably
-     "$?#xx") sitting there.  */
-  putDebugChar ('+');
-
   initialized = 1;
-
 }
 
 /* This function will generate a breakpoint exception.  It is used at the
@@ -909,19 +902,5 @@ int exception;
 void breakpoint()
 {
   if (initialized)
-#if 0
-    handle_exception(3);
-#else
     BREAKPOINT();
-#endif
-  waitabit();
-}
-
-int waitlimit = 1000000;
-
-void
-waitabit()
-{
-  int i;
-  for (i = 0; i < waitlimit; i++) ;
 }
This page took 0.025486 seconds and 4 git commands to generate.