Sean Finney on Tue, 24 Sep 2002 01:40:13 +0200 |
how about compiling with debugging symbols, loading it up in gcc, breaking in the suspect function, and then calling bt (backtrace)? --sean On Mon, Sep 23, 2002 at 06:52:46PM -0400, Fred K Ollinger wrote: > In C, how may a C function determine which function called it? > > If I have a function called by lots of other function and there's an > error, I might want to know where the call came from so I can trace it > back. > > Fred Ollinger (follinge@sas.upenn.edu) > CCN sysadmin > > _________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce > General Discussion -- http://lists.netisland.net/mailman/listinfo/plug > Attachment:
pgpTSo2oRxRs3.pgp
|
|