mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
data-list-changed-registers outputs a list of registers.
This commit is contained in:
parent
28d0b90eb7
commit
40d5d7e983
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1234,9 +1234,9 @@ On a PPC MBX board:
|
||||
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
|
||||
|
||||
|
@ -323,7 +323,7 @@ mi_cmd_data_list_changed_registers (char *command, char **argv, int argc)
|
||||
|
||||
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 */
|
||||
{
|
||||
@ -372,7 +372,7 @@ mi_cmd_data_list_changed_registers (char *command, char **argv, int argc)
|
||||
return MI_CMD_ERROR;
|
||||
}
|
||||
}
|
||||
ui_out_tuple_end (uiout);
|
||||
ui_out_list_end (uiout);
|
||||
return MI_CMD_DONE;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -160,7 +160,7 @@ proc sparc_register_tests { } {
|
||||
# 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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user