aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
commita728f04251098dd0e74a2aea1e4d8e841e7fb404 (patch)
tree2708491f02c795e429a65713e51c466ddf016565 /gdb/mi
parent060d22b0d0cbc7786f83c236ed9812343530dc80 (diff)
downloadgdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog8
-rw-r--r--gdb/mi/mi-main.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index b1e8c28..6567642 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,11 @@
+2001-03-08 Andrew Cagney <ac131313@redhat.com>
+
+ * mi-main.c (mi_cmd_data_list_register_names): Use NUM_REGS, not
+ ARCH_NUM_REGS.
+ (mi_cmd_data_list_changed_registers): Ditto.
+ (mi_cmd_data_list_register_values): Ditto.
+ (mi_cmd_data_write_register_values): Ditto.
+
2001-03-06 Kevin Buettner <kevinb@redhat.com>
* gdbmi.texinfo, mi-cmd-disas.c, mi-cmd-stack.c, mi-cmd-var.c,
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 5851d71..a7c23c0 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -271,7 +271,7 @@ mi_cmd_data_list_register_names (char *command, char **argv, int argc)
case, some entries of REGISTER_NAME will change depending upon
the particular processor being debugged. */
- numregs = ARCH_NUM_REGS;
+ numregs = NUM_REGS;
ui_out_list_begin (uiout, "register-names");
@@ -321,7 +321,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 = ARCH_NUM_REGS;
+ numregs = NUM_REGS;
ui_out_list_begin (uiout, "changed-registers");
@@ -415,7 +415,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 = ARCH_NUM_REGS;
+ numregs = NUM_REGS;
if (argc == 0)
{
@@ -562,7 +562,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 = ARCH_NUM_REGS;
+ numregs = NUM_REGS;
if (argc == 0)
{