This is the mail archive of the gdb-patches@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] |
Well, the problem is that this is not a generic mechanism to everybody to know whether command X is presently running -- because this mechanism can set only one variable, and for some commands that variable is already notification flag.
If you still think it is misleading, I'd like to rename variable 'mi_suppress_notification' to 'mi_cmd_called'. WDYT?
Would that be any better than just storing the name of current command and check it with strcmp? Yeah, we're back to where we've started. What is the problem we're trying to solve? That strcmp is ugly to type and not entirely efficient?
-- Yao
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |