Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Proposed mod for stack-select-frame MI command
@ 2002-07-25 20:21 Mo DeJong
  2002-08-01 16:25 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Mo DeJong @ 2002-07-25 20:21 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-02 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25 20:21 Proposed mod for stack-select-frame MI command Mo DeJong
2002-08-01 16:25 ` Andrew Cagney
2002-08-01 19:18   ` Mo DeJong
2002-08-01 21:03     ` Keith Seitz
2002-08-02  6:28     ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox