Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Kevin Buettner <kevinb@redhat.com>,
	davidm@hpl.hp.com, gdb-patches@sources.redhat.com
Subject: Re: new gdb arch routine FRAME_UNCHANGED
Date: Mon, 13 May 2002 20:33:00 -0000	[thread overview]
Message-ID: <15584.34158.725720.194142@napali.hpl.hp.com> (raw)
In-Reply-To: <3CE048D8.9080704@cygnus.com>

>>>>> On Mon, 13 May 2002 19:14:32 -0400, Andrew Cagney <ac131313@cygnus.com> said:

  Andrew> My brain hurts!  This is increasingly like floating point
  Andrew> with +0 != -0.  We have a situtation where for:

  Andrew> 	frame_id a, b; // contain both SP's and PC

  Andrew> the test:

  Andrew> 	!FRAME_ID_INNER_THAN(a,b) && !FRAME_INNER_THAN(b,a)

  Andrew> does not imply

  Andrew> 	FRAME_ID_SAME(a,b)

  Andrew> (or what ever the functions are called).

If you define FRAME_ID_INNER_THAN(a,b) as:

	((a.bsp > b.bsp) || (a.sp < b.sp))

then the relationship should still hold (assuming "bsp" represents the
register stack pointer and sp the memory stack pointer).

	--david


  parent reply	other threads:[~2002-05-14  3:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 17:23 David Mosberger
2002-05-10 18:04 ` Andrew Cagney
2002-05-10 19:05   ` David Mosberger
2002-05-11 20:52     ` Andrew Cagney
2002-05-13 14:15       ` David Mosberger
2002-05-13 15:46         ` Andrew Cagney
2002-05-13 15:57           ` Kevin Buettner
2002-05-13 16:14             ` Andrew Cagney
2002-05-13 19:43               ` David Mosberger
2002-05-13 19:57                 ` Andrew Cagney
2002-05-13 20:33               ` David Mosberger [this message]
2002-06-26 20:26 ` 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=15584.34158.725720.194142@napali.hpl.hp.com \
    --to=davidm@napali.hpl.hp.com \
    --cc=ac131313@cygnus.com \
    --cc=davidm@hpl.hp.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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