Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB/MI list
@ 2009-10-22 16:28 Mauro Baluda
  2009-10-22 18:07 ` Vladimir Prus
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Baluda @ 2009-10-22 16:28 UTC (permalink / raw)
  To: gdb

hallo I'm completely new to GDB/MI and looking at the documentation
I'm not able to tell what would be an equivalent to the list command
in the usual interface

I only need to print the next line that willl be executed, is there a
way to do it in MI?

thanks
Mauro
-- 
Computer science is no more about computers than astronomy is about telescopes
    - Edsger W. Dijkstra


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

* Re: GDB/MI list
  2009-10-22 16:28 GDB/MI list Mauro Baluda
@ 2009-10-22 18:07 ` Vladimir Prus
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Prus @ 2009-10-22 18:07 UTC (permalink / raw)
  To: gdb

Mauro Baluda wrote:

> hallo I'm completely new to GDB/MI and looking at the documentation
> I'm not able to tell what would be an equivalent to the list command
> in the usual interface
> 
> I only need to print the next line that willl be executed, is there a
> way to do it in MI?

No, there is none. Most frontends have some editor component, and therefore
need only file name and line number to show the current line.

- Volodya



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

end of thread, other threads:[~2009-10-22 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-22 16:28 GDB/MI list Mauro Baluda
2009-10-22 18:07 ` Vladimir Prus

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