This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB/MI list


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]