Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Michael Snyder <msnyder@cygnus.com>, gdb-patches@sources.redhat.com
Subject: Re: [RFA/RFC] Tweak for a gdb.mi test.
Date: Tue, 07 May 2002 19:03:00 -0000	[thread overview]
Message-ID: <3CD88478.D42E4D5A@redhat.com> (raw)
In-Reply-To: <20020508013041.GA29600@nevyn.them.org>

Daniel Jacobowitz wrote:
> 
> On Tue, May 07, 2002 at 06:09:11PM -0700, Michael Snyder wrote:
> >
> > I'm gonna ask for a second pair of eyes, since I don't know MI
> > very well.
> >
> > What this is -- the test is examining the stack, but it is
> > assuming that main is the last frame.  My change allows for
> > one extra frame below main (eg. for '_start').
> >
> > OK to check in?
> 
> Before you check this in, I would prefer to have a policy decision
> in place about whether we should show that frame or not.  The relevant
> macro is FRAME_CHAIN_VALID; I believe we should universally (or almost
> universally) change this to stop at main.  I think that's
> func_frame_chain_valid but don't trust my memory.
> 
> Some ports (HP/UX comes to mind) do wacky things in this macro/method.
> I'm not sure what they accomplish or whether they are really necessary.
> Most default to either file_ or func_, and we should standardize that
> unless there is a good reason not to.

I don't think we can do that, Daniel -- that would force us to change
numerous existing target ports.  Retroactive requirements are not
generally a good idea.  AFAICT, we're stuck with the fact that this
has not been standardized in the past.  I would guess  that there are
just as many targets that display the _start frame as don't.


  reply	other threads:[~2002-05-08  2:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 18:22 Michael Snyder
2002-05-07 18:30 ` Daniel Jacobowitz
2002-05-07 19:03   ` Michael Snyder [this message]
2002-05-07 19:42     ` Daniel Jacobowitz
2002-05-07 19:04   ` Andrew Cagney
2002-05-07 19:15     ` Michael Snyder
2002-05-07 20:06       ` Andrew Cagney
2002-05-08 13:50         ` Michael Snyder
2002-05-08 15:52           ` 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=3CD88478.D42E4D5A@redhat.com \
    --to=msnyder@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@cygnus.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