From: Aleksandar Ristovski Date: Wed, 4 Mar 2009 17:58:34 +0000 (+0000) Subject: * infcmd.c (registers_info): Remove register number case. X-Git-Tag: sid-snapshot-20090401~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bde073247a88977fb7cb88974f0b0310f86ebeb;p=platform%2Fupstream%2Fbinutils.git * infcmd.c (registers_info): Remove register number case. --- 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 + + * infcmd.c (registers_info): Remove register number case. + 2009-03-03 Pedro Alves * 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;