Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 19:49:49 +0100 (CET)
From:      Jonas Bülow <jonas@bulow.mine.nu>
To:        <freebsd-questions@freebsd.org>
Subject:   simple question about remote kernel debugging with gdb
Message-ID:  <1129.10.3.0.250.1039805389.squirrel@jongel.homeunix.net>

next in thread | raw e-mail | index | archive | help
Hi,

When doing remote kernel debugging, how to I "detach" the remote machine?
man ddb says the gdb command toggles between  remote GDB and DDB mode. The
problem is that once toggled to remote GDB, gdb won't accept gdb as a
command:

(kgdb) target remote /dev/cuaa0
Remote debugging using /dev/cuaa0

0xc0207d15 in osigreturn (p=0xc02487a9, uap=0x0)
    at ../../i386/i386/machdep.c:803
803				vm86->vm86_eflags = eflags;	/* save VIF, VIP */

(kgdb) gdb
Undefined command: "gdb".  Try "help".

So what is the simple solution to this problem?

Regards,
   Jonas





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1129.10.3.0.250.1039805389.squirrel>