From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: "Gerrit Bruchhäuser" <gbruchhaeuser@gmx.de>, gdb@sources.redhat.com
Subject: Re: backtrace C-API
Date: Mon, 21 Apr 2003 21:05:00 -0000 [thread overview]
Message-ID: <3EA45CE2.9040500@redhat.com> (raw)
In-Reply-To: <20030418133908.GB8316@nevyn.them.org>
> On Fri, Apr 18, 2003 at 02:33:27PM +0200, Gerrit Bruchhäuser wrote:
>
>> Hello,
>>
>> is there any C-API function in libgdb.a (or some other library) which
>> returns a call stack (something 'bt' like)?
>
>
> No; but you might find backtrace() useful if you're on a
> glibc-supported platform.
But there probably should. How hard is it to create a `target-self'
that uses local memory, and a jump-buf for registers? The tricky bit, I
see, is the symbol table assuming a single global structure.
Andrew
next prev parent reply other threads:[~2003-04-21 21:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-18 12:33 Gerrit Bruchhäuser
2003-04-18 13:39 ` Daniel Jacobowitz
2003-04-21 21:05 ` Andrew Cagney [this message]
2003-04-22 0:51 ` Jason Molenda
2003-04-22 17:05 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA45CE2.9040500@redhat.com \
--to=ac131313@redhat.com \
--cc=drow@mvista.com \
--cc=gbruchhaeuser@gmx.de \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).