MI usage inside a user-defined commands
Nick Roberts
nickrob@snap.net.nz
Thu Jul 7 21:47:00 GMT 2005
> > I don't know the intention - but usually, to manipulate program
> > variables in MI, one uses varobj.
> I know.
> But it seems too much fuss to create a varobj, assign a value and delete
> it when I need just to raise a flag in a debugged program...
The implementation of -gdb-set currently does use CLI but it is still
presented as an MI command. So, although the implementation might change, I
see no reason for the command itself to disappear. Since the documentation
doesn't suggest it is temporary or should not be used for program variables, I
would use this command if it is more convenient.
Nick
More information about the Gdb
mailing list