From owner-freebsd-current Sun May 17 17:24:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA24680 for freebsd-current-outgoing; Sun, 17 May 1998 17:24:04 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA24636 for ; Sun, 17 May 1998 17:23:57 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id JAA03002; Mon, 18 May 1998 09:53:21 +0930 (CST) (envelope-from grog) Message-ID: <19980518095320.E427@freebie.lemis.com> Date: Mon, 18 May 1998 09:53:20 +0930 From: Greg Lehey To: Bruce Evans , pst@juniper.net, regnauld@deepo.prosa.dk Cc: current@FreeBSD.ORG, julian@whistle.com, scrappy@hub.org Subject: Re: Serial console, system hangs and DDB... References: <199805171744.DAA08122@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199805171744.DAA08122@godzilla.zeta.org.au>; from Bruce Evans on Mon, May 18, 1998 at 03:44:36AM +1000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 18 May 1998 at 3:44:36 +1000, Bruce Evans wrote: >> There already is such a thing -- it's called "BREAK_TO_DEBUGGER". >> >> You need to send a indication down the serial line to the target >> machine. The ~# that you're probably sending to your solaris machines >> is actually getting translated by tip(1) into a break signal. > > It is fairly broken, however. It only works if interrupts are enabled > on the serial port for the console, and interrupts are only enabled if > a process (e.g., getty or a shell) has the console open. This makes > it useless for debugging bootstraps, reboots, and serial ports with > broken interrupts. How do you get gdb to send a break? Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message