aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-19 07:59:12 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-19 07:59:12 +0000
commit90515c233a7ada5625879f29410335fe02e57bf6 (patch)
treecdc34fad9f78c7733f649544a2db0a121a08f7b9
parent7194c49b36ddbbb37baf497ba993bd452ee97095 (diff)
downloadgdb-90515c233a7ada5625879f29410335fe02e57bf6.zip
gdb-90515c233a7ada5625879f29410335fe02e57bf6.tar.gz
gdb-90515c233a7ada5625879f29410335fe02e57bf6.tar.bz2
From Peter Schauer: Add `mt i' alias for `mt info'.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/maint.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a4d63a8..9d02969 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,8 @@
2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
+
+ * maint.c (_initialize_maint_cmds): Add `mt i' alias for `mt info'.
+
+2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* infcmd.c (_initialize_infcmd): Add `info r' alias for
`info registers'.
diff --git a/gdb/maint.c b/gdb/maint.c
index 8a8df59..86e269a 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -495,6 +495,7 @@ to test internal functions such as the C++ demangler, etc.",
"Commands for showing internal info about the program being debugged.",
&maintenanceinfolist, "maintenance info ", 0,
&maintenancelist);
+ add_alias_cmd ("i", "info", class_maintenance, 1, &maintenancelist);
add_cmd ("sections", class_maintenance, maintenance_info_sections,
"List the BFD sections of the exec and core files.",