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: Different output from -gdb-show than show


>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:

Michael> I don't see how, since it's a static variable and I've looked at
Michael> every local reference to it.

The command structure has a pointer to the variable.
do_setshow_command reads this directly, and in the MI case does not call
the show_value_func.

Tom


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