From owner-freebsd-hackers Mon Sep 9 7:41:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B741037B400 for ; Mon, 9 Sep 2002 07:41:12 -0700 (PDT) Received: from relay01.cablecom.net (relay01.cablecom.net [62.2.33.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4841A43E6E for ; Mon, 9 Sep 2002 07:41:11 -0700 (PDT) (envelope-from hanspeter_roth@hotmail.com) Received: from gicco.cablecom.ch (dclient80-218-72-247.hispeed.ch [80.218.72.247]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g89Ef820017392 for ; Mon, 9 Sep 2002 16:41:09 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Received: (from idefix@localhost) by gicco.cablecom.ch (8.11.6/8.11.6) id g89Ef8015266 for freebsd-hackers@FreeBSD.ORG; Mon, 9 Sep 2002 16:41:08 +0200 (CEST) (envelope-from hanspeter_roth@hotmail.com) Date: Mon, 9 Sep 2002 16:41:08 +0200 From: Hanspeter Roth To: freebsd-hackers@FreeBSD.ORG Subject: Re: interrupting target kernel using single sio Message-ID: <20020909164108.A12878@gicco.cablecom.ch> Reply-To: freebsd-hackers@FreeBSD.ORG Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20020909112248.A613@gicco.cablecom.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from julian@elischer.org on Mon, Sep 09, 2002 at 04:52:07AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 = ; eol2 = ; 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