summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-28 09:37:11 +0000
committerdfr <dfr@FreeBSD.org>1999-05-28 09:37:11 +0000
commitf26594f08b5d8032af152ed7ea5d11e42b93bb60 (patch)
tree9592e82cddce89761aeaa952854c611d30c9e668 /sys/dev
parentc10ae458eb1914a695353000a7bfde6666cf2a0d (diff)
downloadFreeBSD-src-f26594f08b5d8032af152ed7ea5d11e42b93bb60.zip
FreeBSD-src-f26594f08b5d8032af152ed7ea5d11e42b93bb60.tar.gz
Allow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used for
gdb. This allows the sio probe for that port to be disabled which stops it from confusing the debugger.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 8e32971..3e7a75d 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sio.c,v 1.241 1999/05/10 14:01:29 dfr Exp $
+ * $Id: sio.c,v 1.242 1999/05/22 15:47:34 dfr Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@@ -2837,7 +2837,7 @@ siocnprobe(cp)
siocniobase = iobase;
siocnunit = unit;
}
- if (COM_DEBUGGER(flags) && !COM_LLCONSOLE(flags)) {
+ if (COM_DEBUGGER(flags)) {
printf("sio%d: gdb debugging port\n", unit);
siogdbiobase = iobase;
siogdbunit = unit;
OpenPOWER on IntegriCloud