From 7194c49b36ddbbb37baf497ba993bd452ee97095 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 19 Apr 2000 07:51:26 +0000 Subject: [PATCH] From Peter Schauer: Add `info r' alias for `info registers'. --- gdb/ChangeLog | 5 +++++ gdb/infcmd.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 141a1f0aaaa..a4d63a8bb60 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-03-27 Peter Schauer + + * infcmd.c (_initialize_infcmd): Add `info r' alias for + `info registers'. + Wed Apr 19 17:03:07 2000 Andrew Cagney From Philippe De Muyter : diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 06439d0248d..162b824a530 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, -- 2.30.2