From owner-freebsd-hackers Tue Feb 16 19: 1: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 6BC5A11010; Tue, 16 Feb 1999 19:00:35 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA12692; Wed, 17 Feb 1999 13:30:32 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA10357; Wed, 17 Feb 1999 13:30:32 +1030 (CST) Message-ID: <19990217133032.A515@lemis.com> Date: Wed, 17 Feb 1999 13:30:32 +1030 From: Greg Lehey To: Terry Lambert , Eivind Eklund Cc: hackers@FreeBSD.ORG Subject: Re: gdb sucks - and I need to get around it. help? References: <19990216170310.C60651@bitbox.follo.net> <199902170227.TAA16880@usr08.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199902170227.TAA16880@usr08.primenet.com>; from Terry Lambert on Wed, Feb 17, 1999 at 02:27:05AM +0000 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 17 February 1999 at 2:27:05 +0000, Terry Lambert wrote: >> 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. Does this work on ELF executables? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message