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... Message-ID: <19970429094504.AZ13300@uriah.heep.sax.de> In-Reply-To: <XFMail.970428212110.Shimon@i-Connect.Net>; from Simon Shapiro on Apr 28, 1997 20:33:46 -0700 References: <3364E6BB.41C67EA6@whistle.com> <XFMail.970428212110.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970429094504.AZ13300>