summaryrefslogtreecommitdiff
path: root/gdb/i386-stub.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-08-23 22:40:00 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-08-23 22:40:00 +0000
commit44df2a89932b19fd7f0abbb64f92a5991dcf0e64 (patch)
tree85f4757e0472112140b124b30bd0ea4470ae3da2 /gdb/i386-stub.c
parentdabbe5792c0dfb781339ad7d8f8b1c8c25cb8ec3 (diff)
downloadgdb-44df2a89932b19fd7f0abbb64f92a5991dcf0e64.tar.gz
import gdb-1999-08-23 snapshot
Diffstat (limited to 'gdb/i386-stub.c')
-rw-r--r--gdb/i386-stub.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/i386-stub.c b/gdb/i386-stub.c
index 768f00c3c8e..b05170b4b11 100644
--- a/gdb/i386-stub.c
+++ b/gdb/i386-stub.c
@@ -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++) ;
}