From owner-freebsd-hackers Tue Feb 16 18:30:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 019AE1114C; Tue, 16 Feb 1999 18:27:13 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id TAA29994; Tue, 16 Feb 1999 19:27:13 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd029938; Tue Feb 16 19:27:06 1999 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id TAA16880; Tue, 16 Feb 1999 19:27:05 -0700 (MST) From: Terry Lambert Message-Id: <199902170227.TAA16880@usr08.primenet.com> Subject: Re: gdb sucks - and I need to get around it. help? To: eivind@FreeBSD.ORG (Eivind Eklund) Date: Wed, 17 Feb 1999 02:27:05 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <19990216170310.C60651@bitbox.follo.net> from "Eivind Eklund" at Feb 16, 99 05:03:10 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Anybody know of any way of getting gdb to step from the start of the > program? > > I have an executable with absolutely no symbol data (symbol data is > absolutely non-available) which I *have* to get to step through, if > necessary by re-implementing gdb. One really snotty way to do it is to write a small program that exec's the other program, and follow it through the exec. I've used this technique to work on ld.so before. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message