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
[EMAIL PROTECTED]         Usergroup           [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to