summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2000-05-18 02:29:23 +0000
committergrog <grog@FreeBSD.org>2000-05-18 02:29:23 +0000
commit621990cd684e52fdf924e5b909a6a79921c2f7c1 (patch)
treeb6c9352c4d5f81d90d304b87ec890ee64e2821f7
parentb5dca9211a1c7d240eea833080343929ba977844 (diff)
downloadFreeBSD-src-621990cd684e52fdf924e5b909a6a79921c2f7c1.zip
FreeBSD-src-621990cd684e52fdf924e5b909a6a79921c2f7c1.tar.gz
Correct previous commit: solve the "stopped clock" syndrome in remote
kernel debugger.
-rw-r--r--sys/amd64/amd64/amd64-gdbstub.c4
-rw-r--r--sys/i386/i386/i386-gdbstub.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/amd64-gdbstub.c b/sys/amd64/amd64/amd64-gdbstub.c
index 71c4719..986b8d4 100644
--- a/sys/amd64/amd64/amd64-gdbstub.c
+++ b/sys/amd64/amd64/amd64-gdbstub.c
@@ -188,7 +188,7 @@ getpacket (char *buffer)
unsigned char ch;
int s;
- s = splhigh ();
+ s = spltty ();
do
{
/* wait around for the start character, ignore all other characters */
@@ -253,7 +253,7 @@ putpacket (char *buffer)
int s;
/* $<packet info>#<checksum>. */
- s = splhigh ();
+ s = spltty ();
do
{
/*
diff --git a/sys/i386/i386/i386-gdbstub.c b/sys/i386/i386/i386-gdbstub.c
index 71c4719..986b8d4 100644
--- a/sys/i386/i386/i386-gdbstub.c
+++ b/sys/i386/i386/i386-gdbstub.c
@@ -188,7 +188,7 @@ getpacket (char *buffer)
unsigned char ch;
int s;
- s = splhigh ();
+ s = spltty ();
do
{
/* wait around for the start character, ignore all other characters */
@@ -253,7 +253,7 @@ putpacket (char *buffer)
int s;
/* $<packet info>#<checksum>. */
- s = splhigh ();
+ s = spltty ();
do
{
/*
OpenPOWER on IntegriCloud