From owner-freebsd-hackers Fri Jun 15 9: 2:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id BE5AF37B405 for ; Fri, 15 Jun 2001 09:02:40 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f5FG2c635263; Fri, 15 Jun 2001 18:02:38 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f5FG3GV26273; Fri, 15 Jun 2001 18:03:16 +0200 (CEST) Date: Fri, 15 Jun 2001 18:02:59 +0200 From: Bernd Walter To: Juan Fco Rodriguez Hervella Cc: Lista Subject: Re: reset the target machine with remote gdb. Message-ID: <20010615180259.B25917@cicely20.cicely.de> References: <3B29DF21.2B4B7BA3@it.uc3m.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B29DF21.2B4B7BA3@it.uc3m.es>; from jrh@it.uc3m.es on Fri, Jun 15, 2001 at 12:10:41PM +0200 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 Fri, Jun 15, 2001 at 12:10:41PM +0200, Juan Fco Rodriguez Hervella wrote: > Hi: > > I am debugging a kernel with remote gdb, using > a serial line. I do the following: > > 1. boot -d, gdb, step (in target machine) > 2. gdb -k kernel.debug > > Some time later, I get a "SIGSEV segmentation fault". > This is normal, because I am doing very changes to > the kernel. > > My question is the following. I would like to reboot > the target machine without press the reset button, > but I dont know if it is possible from the debugging > machine to do this. > > I am afraid that if I reboot with the reset-button > of the box, I would lost data dont save on the disk. > > Sorry for my bad english. From DDB I usally call cpu_reset, it should also work with gdb. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message