summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 71c4719f67d1..986b8d4daa1f 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 71c4719f67d1..986b8d4daa1f 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
{
/*