From owner-freebsd-hackers Thu Apr 24 11:33:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA22494 for hackers-outgoing; Thu, 24 Apr 1997 11:33:33 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA22485 for ; Thu, 24 Apr 1997 11:33:29 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id UAA16255; Thu, 24 Apr 1997 20:33:27 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id UAA08379; Thu, 24 Apr 1997 20:13:21 +0200 (MET DST) Message-ID: <19970424201320.ZN19898@uriah.heep.sax.de> 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 References: <19970424084837.TT37090@uriah.heep.sax.de> <199704240840.BAA06706@catarina.usc.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199704240840.BAA06706@catarina.usc.edu>; from Pavlin Ivanov Radoslavov on Apr 24, 1997 01:40:52 -0700 Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)