From owner-freebsd-questions Tue Aug 18 12:18:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10166 for freebsd-questions-outgoing; Tue, 18 Aug 1998 12:18:38 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dirty.research.bell-labs.com (dirty.research.bell-labs.com [204.178.16.6]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA10159 for ; Tue, 18 Aug 1998 12:18:35 -0700 (PDT) (envelope-from jcb@research.bell-labs.com) Received: from research.research.bell-labs.com ([135.104.1.3]) by dirty; Tue Aug 18 15:16:08 EDT 1998 Received: from starling.research.bell-labs.com ([135.104.26.187]) by research; Tue Aug 18 15:16:05 EDT 1998 Received: from research.bell-labs.com (sica.research.bell-labs.com [135.104.46.53]) by starling.research.bell-labs.com (8.8.8/8.8.8) with ESMTP id PAA28495; Tue, 18 Aug 1998 15:17:46 -0400 (EDT) Message-ID: <35D9D2F6.AC30DE26@research.bell-labs.com> Date: Tue, 18 Aug 1998 15:16:07 -0400 From: "Jose' Carlos Brustoloni" X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Dropping into DDB when X server is active Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am using FreeBSD 2.2.6 on a Pentium II 266 MHz PC with 64 MB memory and Matrox Millenium II AGP video board. I am running the XFree86 version that comes in the FreeBSD 2.2.6 release. I compiled the kernel with options DDB, BREAK_TO_DEBUGGER, UCONSOLE, and GDB_REMOTE_CHAT. My .xinitrc file runs xterm with the -C flag (so that the initial xterm would grab the system console). I am adding some modifications to the kernel and would like to be able to: - set a breakpoint in DDB; continue; - start X; - run an application (Netscape) that causes the kernel breakpoint to be reached; AND - drop into DDB so that I can examine register, processes, etc. Unfortunately, when the breakpoint is reached, the system simply hangs instead of dropping into DDB. I also would like to be able to drop into DDB by pressing Ctrl-Alt-ESC when the X server is running. Unfortunately, this key combination is ignored by the system unless the screen is in console mode. Is there any way to use DDB when the X server is running? Thanks, Jose' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message