Sean Finney on Tue, 24 Sep 2002 02:20:10 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] [C QUESTION] how to tell caller of a function


On Mon, Sep 23, 2002 at 07:42:09PM -0400, gabriel rosenkoetter wrote:
> On Mon, Sep 23, 2002 at 07:27:32PM -0400, Sean Finney wrote:
> > how about compiling with debugging symbols, loading it up in gcc, 
> > breaking in the suspect function, and then calling bt (backtrace)?
> 
> Oh, and Sean means gdb, not gcc. And what he really means is "load
> it up in a debugger" (plenty of folks still use dbx, Sean, as I
> did in CS 21... Sun's cc still still produces way faster code on
> sparc64 than gcc does or will for years).

ack, i meant gdb, not gcc, damned pre-programmed hands are more used to
typing the latter.  my bad.

--sean

Attachment: pgpRjjSeR6rSY.pgp
Description: PGP signature