Skip site navigation (1)Skip section navigation (2)
Date:      18 Feb 1999 02:01:24 -0600
From:      Joel Ray Holveck <joelh@gnu.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        Terry Lambert <tlambert@primenet.com>, Eivind Eklund <eivind@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: gdb sucks - and I need to get around it.  help?
Message-ID:  <864sok9m3v.fsf@detlev.UUCP>
In-Reply-To: Greg Lehey's message of "Wed, 17 Feb 1999 13:30:32 %2B1030"
References:  <19990216170310.C60651@bitbox.follo.net> <199902170227.TAA16880@usr08.primenet.com> <19990217133032.A515@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> 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?

I used this technique (using ld.so) to debug Emacs when I brought it
to FreeBSD-ELF.  This was before ELF became stabilized, but it used to
work.

Cheers,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864sok9m3v.fsf>