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]

Re: [PATCH] MI: Add value field to output of -var-create


 > Seems fine to me, after we work out what to do with the testsuite. I
 > went to check whether this should be PRINT_ALL_VALUES or
 > PRINT_SIMPLE_VALUES but it seems fine the way you've got it - I wish
 > I could remember the rational for PRINT_SIMPLE_VALUES properly.

I think it was a diplomatic solution to a technical problem.
PRINT_SIMPLE_VALUES only makes sense to me for -stack-list-locals.  Even
this case will be unimportant when "-var-list --locals" is implemented.

 > One alternative that does not affect the testsuite would be to add
 > an --all-values option to -var-create.

Ah!, the Emacs solution; a switch for everything.  I don't like it.  This
would mean that the frontend end would have to work out which versions of
GDB have this option and which don't.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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