From owner-freebsd-hackers Tue Apr 29 00:50:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA02905 for hackers-outgoing; Tue, 29 Apr 1997 00:50:36 -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 AAA02900 for ; Tue, 29 Apr 1997 00:50:33 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA19278 for freebsd-hackers@freebsd.org; Tue, 29 Apr 1997 09:50:31 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA03524; Tue, 29 Apr 1997 09:45:04 +0200 (MET DST) Message-ID: <19970429094504.AZ13300@uriah.heep.sax.de> Date: Tue, 29 Apr 1997 09:45:04 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freebsd.org Subject: Re: A Desparate Plea for Help... References: <3364E6BB.41C67EA6@whistle.com> 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: ; from Simon Shapiro on Apr 28, 1997 20:33:46 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Simon Shapiro wrote: > > cp kernel kernel.debug > > strip -d kernel > > Are the two above in / or in /usr/src/sys/compile/WHATEVER? Remember, there's also always the handbook. :-) You want to strip -d the kernel you're going to boot, in order to not load all the debugging symbols into memory. You don't wanna strip the kernel on the machine where the remote gdb is running. (Yes, you need a different machine for this, but all it needs is the kernel compilation tree for your victim, ~ 20 MB.) > > 2/ you must remember to make sure the system has sert gdb to be the > > kernel debugger. > > (there may be a compile time option for this.. I forget) > > Could not find that, other than the -g at boot time. RTFHandbook. :) When in doubt, boot with -d, then type `gdb' and `s' at the db> prompt. > ay suggestion on what are the best settings for com4? I need a mouse, a > serial > port for modem and a serial port for ISDN. Can I configure everything to > use > com4 instead of com1? Will make it simpler here. Everything except the console. But you need distinct IRQs for the ports, or a multiport card with shared interrupts. -- 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. ;-)