+2001-06-23 Andrew Cagney <ac131313@redhat.com>
+
+ * mi-main.c (mi_cmd_data_list_changed_registers): Output a list of
+ register numbers.
+ * gdbmi.texinfo (data-list-changed-registers): Update
+ documentation.
+
2001-06-23 Andrew Cagney <ac131313@redhat.com>
* gdbmi.texinfo (data-disassemble): Update documentation of
args=@{@},file="try.c",line="5"@}
(@value{GDBP})
-data-list-changed-registers
-^done,changed-registers=@{"0","1","2","4","5","6","7","8","9",
+^done,changed-registers=["0","1","2","4","5","6","7","8","9",
"10","11","13","14","15","16","17","18","19","20","21","22","23",
-"24","25","26","27","28","30","31","64","65","66","67","69"@}
+"24","25","26","27","28","30","31","64","65","66","67","69"]
(@value{GDBP})
@end smallexample
numregs = NUM_REGS;
- ui_out_tuple_begin (uiout, "changed-registers");
+ ui_out_list_begin (uiout, "changed-registers");
if (argc == 0) /* No args, just do all the regs */
{
return MI_CMD_ERROR;
}
}
- ui_out_tuple_end (uiout);
+ ui_out_list_end (uiout);
return MI_CMD_DONE;
}
+2001-06-25 Andrew Cagney <ac131313@redhat.com>
+
+ * mi-regs.exp: Update patterns matching changed-registers. Now
+ outputs a list.
+
2001-06-23 Andrew Cagney <ac131313@redhat.com>
* ChangeLog-mi: Rename to ChangeLog.
# Don't know how useful this test is
mi_gdb_test "002-data-list-changed-registers" \
- "002\\^done,changed-registers=\{\"1\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"30\",\"31\",\"65\",\"68\",\"69\"\}" \
+ "002\\^done,changed-registers=\\\[\"1\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\",\"30\",\"31\",\"65\",\"68\",\"69\"\\\]" \
"list changed registers"
}