Date: Thu, 24 Apr 1997 20:13:20 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.org Cc: pavlin@catarina.usc.edu (Pavlin Ivanov Radoslavov) Subject: Re: Kernel remote debugging using gdb Message-ID: <19970424201320.ZN19898@uriah.heep.sax.de> In-Reply-To: <199704240840.BAA06706@catarina.usc.edu>; from Pavlin Ivanov Radoslavov on Apr 24, 1997 01:40:52 -0700 References: <19970424084837.TT37090@uriah.heep.sax.de> <199704240840.BAA06706@catarina.usc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
As Pavlin Ivanov Radoslavov wrote: > > Boot with -d, then add 0x10000 (RB_MUTE) to the value of > > `boothowto', type `gdb', and continue. If you wanna switch back from > You mean "write boothowto+0x10000 to cn_mute", right? No. I mean something like: db> x boothowto _boothowto: 0x80001042 db> w boothowto 0x80011042 _boothowto: 0x80001042 = 0x80011042 db> gdb The value of the RB_MUTE bit will only be considered once at boot time, to set the variable cn_mute. Later on, you have to modify cn_mute directly. > However, maybe I wasn't very clear in my first email: You've been clear :), but i don't know an answer how to split both console functions. Either the console output itself as DDB as GDB use the same entry points into the sio driver. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970424201320.ZN19898>