Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [patch rfc] unwind sentinel id/pc
Date: Mon, 03 Mar 2003 18:42:00 -0000	[thread overview]
Message-ID: <1030303184218.ZM18306@localhost.localdomain> (raw)
In-Reply-To: Andrew Cagney <ac131313@redhat.com> "[patch rfc] unwind sentinel id/pc" (Mar  2,  3:25pm)

On Mar 2,  3:25pm, Andrew Cagney wrote:

> Following on from my recent post to add an unwind_dummy_id() method, 
> this code adds architecture specific methods to handle the edge case of 
> unwinding the sentinel frame's PC/ID.
> 
> While I'm pretty sure that the methods are needed, I'm not 100% certain 
> of their interfaces.  The attached has:
> 
> 	unwind_sentinel_id(arch, regcache, unwind_cache)
> 
> I'm wondering if, instead it should use something like:
> 
> 	unwind_sentinel_id(arch, tpid, unwind_cache)
> 
> where a new method:
> 
> 	tpid_regcache (tpid)
> 
> could be used to obtain the tpid's register cache.  I'm thinking this 
> since, for the case of the i386, it may need the thread's state in 
> addition to registers when determing the `pc'.

s/tpid/ptid/ in the above.

ptid_regcache() does sound useful.

Kevin


  reply	other threads:[~2003-03-03 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-02 20:23 Andrew Cagney
2003-03-03 18:42 ` Kevin Buettner [this message]
2003-03-07 17:31 ` 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=1030303184218.ZM18306@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@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