This is the mail archive of the gdb@sources.redhat.com 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: MI usage inside a user-defined commands


 > > 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


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