From d02a8ed467c8ce9808c9cedf718160ad2569c52a Mon Sep 17 00:00:00 2001 From: grog Date: Thu, 18 May 2000 02:29:23 +0000 Subject: [PATCH] Correct previous commit: solve the "stopped clock" syndrome in remote kernel debugger. --- sys/amd64/amd64/amd64-gdbstub.c | 4 ++-- sys/i386/i386/i386-gdbstub.c | 4 ++-- 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; /* $#. */ - 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; /* $#. */ - s = splhigh (); + s = spltty (); do { /*