From owner-freebsd-questions Fri Dec 13 10:50: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE9F37B401 for ; Fri, 13 Dec 2002 10:49:59 -0800 (PST) Received: from jongel.homeunix.net (as10-2-2.k.s.bonet.se [217.215.170.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC37E43EB2 for ; Fri, 13 Dec 2002 10:49:56 -0800 (PST) (envelope-from jonas@bulow.mine.nu) Received: from bulow.mine.nu (localhost.homeunix.net [127.0.0.1]) by jongel.homeunix.net (8.12.6/8.12.5) with SMTP id gBDInnTS009869 for ; Fri, 13 Dec 2002 19:49:49 +0100 (CET) (envelope-from jonas@bulow.mine.nu) From: Jonas Bülow Received: from 10.3.0.250 (SquirrelMail authenticated user jonas) by jongel.homeunix.net with HTTP; Fri, 13 Dec 2002 19:49:49 +0100 (CET) Message-ID: <1129.10.3.0.250.1039805389.squirrel@jongel.homeunix.net> Date: Fri, 13 Dec 2002 19:49:49 +0100 (CET) Subject: simple question about remote kernel debugging with gdb To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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