Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Michael Eager <eager@eagercon.com>
Cc: gdb@sources.redhat.com
Subject: Re: GDB Documentation and Request for Help
Date: Fri, 30 Mar 2007 21:02:00 -0000	[thread overview]
Message-ID: <m3odmah2bx.fsf@codesourcery.com> (raw)
In-Reply-To: <20070330184051.GA26862@caradoc.them.org> (Daniel Jacobowitz's message of "Fri, 30 Mar 2007 14:40:51 -0400")


Daniel Jacobowitz <drow@false.org> writes:
> On Fri, Mar 30, 2007 at 11:26:39AM -0700, Michael Eager wrote:
>> Jim Blandy wrote:
>
>> >If you post here, I think people would be happy to explain what's
>> >current and what isn't.  I'll watch for your messages.
>
>> Thanks.  I think that my questions are not very specific and
>> it would be better to go through the Target Arch chapter
>> and mark it up.
>
>> But here goes:  what did FRAME_INIT_SAVED get replaced by?
>
> It got replaced by an entirely demand driven system.  There's only two
> entry points: this_id and prev_register.  Every registered unwinder
> provides both.

Michael, your question suggests that you're looking at some code in
your old port, and trying to figure out where it goes in your new
port.  I would find that a very hard question to answer if I were in
your shoes.  Instead, start by reading frame-unwind.h and having your
foo_gdbarch_init function call frame_unwind_append_sniffer with a
structure containing appropriate functions, written from scratch.

In other words, you may be able to use the old port to understand how
your target works, but you'll need to decide afresh how to express
that understanding in the new arch description framework.

(Having worked on both, I think the new frame system is *much* nicer
to work with, and more reliable.  So your efforts won't be wasted.)


  reply	other threads:[~2007-03-30 21:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 17:20 Michael Eager
2007-03-30 18:08 ` Jim Blandy
2007-03-30 18:27   ` Michael Eager
2007-03-30 18:41     ` Daniel Jacobowitz
2007-03-30 21:02       ` Jim Blandy [this message]
2007-03-30 21:14         ` Michael Eager
2007-03-31  8:29           ` Eli Zaretskii
2007-04-04 14:57           ` Dave Korn

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=m3odmah2bx.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=eager@eagercon.com \
    --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