comp.lang.c
[Top] [All Lists]

Re: Backtrace function

Subject: Re: Backtrace function
From:
Date: Fri, 28 Mar 2008 19:11:45 +0000 UTC
Newsgroups: comp.lang.c

In article <c338370f-1230-430f-b97a-40c96008762e@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
sophia  <sophia.agnes@xxxxxxxxx> wrote:
>Dear all,
>
>can any one suggest ways of implementing a backtrace function in ANSI/
>standard C as given in the following link ?
>
>http://pramode.net/2006/09/12/getting-a-backtrace-from-running-c-code/#more-144

Divine Guidance.

(Well, either that or stepping well outside what the Standard defines
to grovel through the implementation's internal structures and finding
the information you want that way.  It's probably there somewhere
(though there are cases where it can be left out without breaking
anything), so actually getting to it is a simple matter of finding out
where to look and how to interpret what you see, and then hoping it
doesn't change when you upgrade your compiler.)


dave

-- 
Dave Vandervies                                 dj3vande at eskimo dot com
It's standup comedy in book form.
Which is far more entertaining than standup comedy in standup comedy form.
                               --Omri Schwarz in the scary devil monastery

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy