Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 1998 15:16:07 -0400
From:      "Jose' Carlos Brustoloni" <jcb@research.bell-labs.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Dropping into DDB when X server is active
Message-ID:  <35D9D2F6.AC30DE26@research.bell-labs.com>

next in thread | raw e-mail | index | archive | help
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



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