=frame-selected MI notification

Tom Tromey tromey@redhat.com
Mon Aug 31 23:11:00 GMT 2009


Nick> I think it would be hard to write a large C program with no global
Nick> variables but, in any case, the concept of current thread/selected
Nick> frame seems to be a great convenience when using GDB from the
Nick> command line.

Volodya> It is convenient for command line GDB usage. This, however,
Volodya> does not mean that global variable that affects all of gdb
Volodya> makes sense.

As long as Emacs and GDB can be in sync, I suppose I don't care much
whether the notification is done by the MI command wrapper or deep in
the guts of GDB.

So, I think we either need Dmitry's patch or Nick's.

I assume we'll find more little holes like this, too.

Tom



More information about the Gdb-patches mailing list