From owner-freebsd-hackers Fri Sep 6 12:20: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 E8FED37B400 for ; Fri, 6 Sep 2002 12:20:08 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F27843E65 for ; Fri, 6 Sep 2002 12:20:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020906192007.BCMA9751.sccrmhc01.attbi.com@InterJet.elischer.org> for ; Fri, 6 Sep 2002 19:20:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA42767 for ; Fri, 6 Sep 2002 12:11:28 -0700 (PDT) Date: Fri, 6 Sep 2002 12:11:28 -0700 (PDT) From: Julian Elischer To: freebsd-hackers@freebsd.org Subject: Re: interrupting the remote kernel In-Reply-To: <20020906204324.A1258@gicco.cablecom.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 hit CTL_ALT_ESC on it's keyboard... or do: sysctl debug.enter_debugger=gdb On Fri, 6 Sep 2002, Hanspeter Roth wrote: > Hello, > > I have BREAK_TO_DEBUGGER, DDB and no DDB_UNATTENDED on the target > kernel and remotebreak = 1 on the remote gdb. So I'm expecting > pressing ctl-C in the remote gdb should interrupt the remote kernel > as if it had encountered a breakpoint. Is my expectation right? > > Nothing happens when pressing ctl-C once. Pressing it twice just > gives me the option to detach gdb. > > How can I interrupt the remote kernel without breakpoints? > I'm trying to locate kernel hangings. Is it possible with this > approach? > > -Hanspeter > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message