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:gdb/mi] Update a specified list of variable objects


Tom Tromey writes:
 > >>>>> "Nick" == Nick Roberts <nickrob@snap.net.nz> writes:
 > 
 > Nick>           -var-update [PRINT_VALUES] NAME1 NAME2 ...
 > 
 > Two notes on this patch.
 > 
 > First, it needs a documentation change as well.

I should have posted it as a RFC.  I've not run the testsuite or written any
tests either.  I wanted to test the water first but these will be forthcoming
if there's general agreement on the change.

 > Nick> !       int index = optind;
 > Nick> !       while (argv[index]) {
 > 
 > Second, a nit: wrong brace placement.

Hmm.  Too much Java.

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