Naresh on Tue, 24 Sep 2002 02:00:09 +0200 |
Isn't it bad programming practice to call a function (other then main()) inside a function? Naresh On Mon, 23 Sep 2002, Sean Finney wrote: > 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 > > > _________________________________________________________________________ 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
|
|