From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5de0d3d0d0685cbe X-Google-Attributes: gid103376,public From: Florian Weimer Subject: Re: using package GNAT.Traceback Date: 2000/04/14 Message-ID: <87r9c8wkjk.fsf@deneb.cygnus.argh.org>#1/1 X-Deja-AN: 611236227 References: <8d2dan$202$1@nnrp1.deja.com> <38f4cb4c.0@silver.truman.edu> <38f5d0ef.0@silver.truman.edu> <8d7m5r$ri9$1@nnrp1.deja.com> Mail-Copies-To: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cygnus.argh.org X-Trace: deneb.cygnus.argh.org 955740415 452 192.168.1.2 (14 Apr 2000 19:26:55 GMT) Organization: Penguin on board User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.6 Mime-Version: 1.0 Reply-To: Florian Weimer NNTP-Posting-Date: 14 Apr 2000 19:26:55 GMT Newsgroups: comp.lang.ada Date: 2000-04-14T19:26:55+00:00 List-Id: Robert Dewar writes: > The -E switch has > to do with storing tracebacks in exception occurrences, > which is something quite different. And this seems to require the `-funwind-tables' flag. But why? At least glibc 2.1 has a backtrace() function which seems to provide the same information without any compiler support, by walking down the stack (obviously, you shouldn't use `-fomit-frame-pointer' to compile your code, though).