diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-11-09 20:27:55 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-11-11 09:04:05 +0000 |
commit | 5f515954d10b69ba6c390e7b8bcfdba2ced7850b (patch) | |
tree | f4975dfb0bbfbadf8c6481763e1029774fbcbe0a /gdb/avr-tdep.c | |
parent | f3575e08379b36ab3a286c8fb5838a2d54424073 (diff) | |
download | gdb-5f515954d10b69ba6c390e7b8bcfdba2ced7850b.zip gdb-5f515954d10b69ba6c390e7b8bcfdba2ced7850b.tar.gz gdb-5f515954d10b69ba6c390e7b8bcfdba2ced7850b.tar.bz2 |
gdb: Make use of 'add_info' to create info sub-commands.
Switch to using 'add_info' function for creating basic info
sub-commands.
gdb/ChangeLog:
* avr-tdep.c (_initialize_avr_tdep): Switch to 'add_info' for creating
info sub-commands.
* gnu-nat.c (add_task_commands): Likewise.
* macrocmd.c (_initialize_macrocmd): Likewise.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r-- | gdb/avr-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 9c54b2d..ccc8b45 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1632,7 +1632,6 @@ _initialize_avr_tdep (void) /* FIXME: TRoth/2002-02-18: This should probably be changed to 'info avr io_registers' to signify it is not available on other platforms. */ - add_cmd ("io_registers", class_info, avr_io_reg_read_command, - _("query remote avr target for io space register values"), - &infolist); + add_info ("io_registers", avr_io_reg_read_command, + _("query remote avr target for io space register values")); } |