diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-19 07:51:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-19 07:51:26 +0000 |
commit | 7194c49b36ddbbb37baf497ba993bd452ee97095 (patch) | |
tree | f3da47467832c9f1ccbebe913a00f01723823d3a /gdb | |
parent | df02e9ed85c7f26e0d9c992225ccaab124939f0d (diff) | |
download | gdb-7194c49b36ddbbb37baf497ba993bd452ee97095.zip gdb-7194c49b36ddbbb37baf497ba993bd452ee97095.tar.gz gdb-7194c49b36ddbbb37baf497ba993bd452ee97095.tar.bz2 |
From Peter Schauer: Add `info r' alias for `info registers'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infcmd.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 141a1f0..a4d63a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> + + * infcmd.c (_initialize_infcmd): Add `info r' alias for + `info registers'. + Wed Apr 19 17:03:07 2000 Andrew Cagney <cagney@b1.cygnus.com> From Philippe De Muyter <phdm@macqel.be>: diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 06439d0..162b824 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1998,6 +1998,7 @@ use \"set args\" without arguments."); add_info ("registers", nofp_registers_info, "List of integer registers and their contents, for selected stack frame.\n\ Register name as argument means describe only that register."); + add_info_alias ("r", "registers", 1); if (xdb_commands) add_com ("lr", class_info, nofp_registers_info, |