diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-09-12 15:00:42 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-09-12 15:00:42 +0000 |
commit | 28b41c52e23d1513024c400ca339902a7b1b2d9a (patch) | |
tree | 3178642e2b2ad6ba496e4392df4ee49b250f0f7a /gdb/mi | |
parent | 5bf970f9366e676f9fdc252cc9fde31fbf84b9c4 (diff) | |
download | gdb-28b41c52e23d1513024c400ca339902a7b1b2d9a.zip gdb-28b41c52e23d1513024c400ca339902a7b1b2d9a.tar.gz gdb-28b41c52e23d1513024c400ca339902a7b1b2d9a.tar.bz2 |
Index: ChangeLog
2004-09-12 Salvador E. Tropea <set@users.sf.net>
Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values)
(mi_cmd_data_write_register_values): Include the PSEUDO_REGS in
the register number computation.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index e373554..6961992 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -327,7 +327,7 @@ mi_cmd_data_list_changed_registers (char *command, char **argv, int argc) case, some entries of REGISTER_NAME will change depending upon the particular processor being debugged. */ - numregs = NUM_REGS; + numregs = NUM_REGS + NUM_PSEUDO_REGS; cleanup = make_cleanup_ui_out_list_begin_end (uiout, "changed-registers"); @@ -423,7 +423,7 @@ mi_cmd_data_list_register_values (char *command, char **argv, int argc) case, some entries of REGISTER_NAME will change depending upon the particular processor being debugged. */ - numregs = NUM_REGS; + numregs = NUM_REGS + NUM_PSEUDO_REGS; if (argc == 0) { @@ -563,7 +563,7 @@ mi_cmd_data_write_register_values (char *command, char **argv, int argc) case, some entries of REGISTER_NAME will change depending upon the particular processor being debugged. */ - numregs = NUM_REGS; + numregs = NUM_REGS + NUM_PSEUDO_REGS; if (argc == 0) { |