diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2009-03-04 17:58:34 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2009-03-04 17:58:34 +0000 |
commit | 9bde073247a88977fb7cb88974f0b0310f86ebeb (patch) | |
tree | c0692248eac08aa8c44b9804aa0549bc0c01a12f | |
parent | d9319cec0d47cb97dc61351db385381ddb9ee325 (diff) | |
download | gdb-9bde073247a88977fb7cb88974f0b0310f86ebeb.zip gdb-9bde073247a88977fb7cb88974f0b0310f86ebeb.tar.gz gdb-9bde073247a88977fb7cb88974f0b0310f86ebeb.tar.bz2 |
* infcmd.c (registers_info): Remove register number case.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/infcmd.c | 15 |
2 files changed, 4 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea0e65f..2bf365d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-03-04 Aleksandar Ristovski <aristovski@qnx.com> + + * infcmd.c (registers_info): Remove register number case. + 2009-03-03 Pedro Alves <pedro@codesourcery.com> * top.c (quit_target): Check for target_has_execution before diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 0a17dab..37a237a 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1948,21 +1948,6 @@ registers_info (char *addr_exp, int fpregs) } } - /* A register number? (how portable is this one?). */ - { - char *endptr; - int regnum = strtol (start, &endptr, 0); - if (endptr == end - && regnum >= 0 - && regnum < gdbarch_num_regs (gdbarch) - + gdbarch_num_pseudo_regs (gdbarch)) - { - gdbarch_print_registers_info (gdbarch, gdb_stdout, - frame, regnum, fpregs); - continue; - } - } - /* A register group? */ { struct reggroup *group; |