Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 16:41:08 +0200
From:      Hanspeter Roth <hanspeter_roth@hotmail.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: interrupting target kernel using single sio
Message-ID:  <20020909164108.A12878@gicco.cablecom.ch>
In-Reply-To: <Pine.BSF.4.21.0209090448190.51214-100000@InterJet.elischer.org>; from julian@elischer.org on Mon, Sep 09, 2002 at 04:52:07AM -0700
References:  <20020909112248.A613@gicco.cablecom.ch> <Pine.BSF.4.21.0209090448190.51214-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Sep 09 at 04:52, Julian Elischer spoke:

> there is the following option:
> # Options for serial drivers that support consoles (only for sio now):
> options         BREAK_TO_DEBUGGER       #a BREAK on a comconsole goes to
>                                         #DDB, if available.
> it isdangerous because rebooting the local machine can en up sending a break
> to the remote machine.

I also have:
options         ALT_BREAK_TO_DEBUGGER
I hope it doesn't disturb.

Is that to say rebooting the machine where I want to run gdb?
I've rebooted this machine and nothing happened. 
Is that to say that the target machine ignores the break on the sio?

stty values are:

speed 9600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
        lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
        status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

I tried to set brkint but after examining it again it is still
cleared.
Is the serial port bogus or is the serial cable an incomplete
implementation?

-Hanspeter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020909164108.A12878>