public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How does GDB/MI give the current frame
@ 2004-06-24 22:54 Nick Roberts
  2004-06-24 23:17 ` Daniel Jacobowitz
  2004-06-25 15:12 ` Andrew Cagney
  0 siblings, 2 replies; 24+ messages in thread
From: Nick Roberts @ 2004-06-24 22:54 UTC (permalink / raw)
  To: gdb


Changing the frame with a CLI command (up, down, frame) using annotations
(level 1 or 2), GDB returns an annotation giving the new current frame.
In contrast, the MI command is -stack-select-frame is silent. 

Assuming that future front ends shouldn't use CLI commands, how do you
get the current frame using MI only?

Nick


Context: gdb-ui.el can have a window showing the call stack from which a stack
frame can be made current by selection with the mouse. The displayed source
updates automatically.  I don't see how I can do this with gdb-mi.el without
using the CLI.

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

end of thread, other threads:[~2004-07-26 21:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24 22:54 How does GDB/MI give the current frame Nick Roberts
2004-06-24 23:17 ` Daniel Jacobowitz
2004-06-26  9:10   ` Nick Roberts
2004-06-26 14:59     ` Daniel Jacobowitz
2004-06-27  2:12     ` Andrew Cagney
2004-06-30 20:47       ` Alain Magloire
     [not found]       ` <200406302047.QAA29956@smtp.ott.qnx.com>
2004-07-02 17:29         ` Nick Roberts
2004-07-08 22:15           ` Andrew Cagney
2004-07-08 23:07             ` Alain Magloire
2004-07-11 22:49             ` Nick Roberts
2004-07-12 14:24               ` Andrew Cagney
2004-07-12 20:09                 ` Nick Roberts
2004-07-15 14:48                   ` Andrew Cagney
2004-07-15 19:50                     ` Nick Roberts
2004-07-15 20:19                       ` Jason Molenda
2004-07-15 21:08                         ` Jason Molenda
2004-07-16 14:12                           ` Alain Magloire
2004-07-16 14:08                         ` Alain Magloire
     [not found]                         ` <200407161404.KAA02192@smtp.ott.qnx.com>
2004-07-18 21:07                           ` Nick Roberts
2004-07-26 21:31                             ` Andrew Cagney
     [not found]             ` <200407082307.TAA09285@smtp.ott.qnx.com>
2004-07-11 22:49               ` Nick Roberts
2004-07-12 18:30                 ` Alain Magloire
     [not found]                 ` <200407121751.NAA24942@smtp.ott.qnx.com>
2004-07-14  4:00                   ` Nick Roberts
2004-06-25 15:12 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).