Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Mo DeJong <supermo@bayarea.net>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: Proposed mod for stack-select-frame MI command
Date: Thu, 01 Aug 2002 16:25:00 -0000	[thread overview]
Message-ID: <3D49C36A.9060504@ges.redhat.com> (raw)
In-Reply-To: <20020725202141.34b12c04.supermo@bayarea.net>

Mo, is this needed or is it just a convenience?  Won't the client need 
to track the current stack level and hence can simply adjust/use that 
local copy.

Andrew


> Greetings
> 
> I am been working with the MI recently and ran into a
> real problem with the stack-select-frame method.
> While it can be used to change the stack to a new level,
> there is no way to just move up or down a level(s) like
> the cli up and down commands. I am suggesting that
> the implementation of the -stack-select-frame be
> changed to support selection of stack frames that
> are relative to the current stack frame.
> 
> -stack-select-frame 0
> -stack-select-frame +1
> (This would move up one frame)
> 
> -stack-select-frame +1
> -stack-select-frame -2
> (This would end up back at frame 0)
> 
> A patch to implement this change has been posted to gdb-patches.
> 
> cheers
> Mo DeJong
> 



  reply	other threads:[~2002-08-01 23:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25 20:21 Mo DeJong
2002-08-01 16:25 ` Andrew Cagney [this message]
2002-08-01 19:18   ` Mo DeJong
2002-08-01 21:03     ` Keith Seitz
2002-08-02  6:28     ` Elena Zannoni

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=3D49C36A.9060504@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=supermo@bayarea.net \
    /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