This is the mail archive of the gdb-patches@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: Patch for gdb/mi problem 672


For the testsuite: mi0 is no more. These modified tests should go in
as mi2-var-child.exp, etc, leaving the mi-var... unchanged. Is this
the intent? Andrew?
Other way round.

mi-var-child.exp gets the updates (it uses -i=mi) but mi1-var-child.exp is frozen.

It will mean changing:

-      ui_out_tuple_begin (uiout, "changelist");
+      ui_out_list_begin (uiout, "changelist");
to:
if(mi_version (uiout) <= 1)
ui_out_tuple_begin (uiout, "changelist");
else
ui_out_list_begin (uiout, "changelist");
(ulgh!) (or similar). (perhaphs mi_version_p (uiout, 1) would have been a better interface. Too late :-)

The output is broken but its been broken since GDB 5.0 so I think this is a mi1->mi2 syntax change.

Andrew



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