aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-01 03:43:08 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-01 03:43:08 +0000
commitcd2c720ae26b746f3e9e4db4cbd6aadf030e97a1 (patch)
treeafacb2bdf0eeba0604245d542ffcae3e89af4e89 /gdb
parent4b2a6aed8413d6e7d7b25d918896ae637266d9d5 (diff)
downloadgdb-cd2c720ae26b746f3e9e4db4cbd6aadf030e97a1.zip
gdb-cd2c720ae26b746f3e9e4db4cbd6aadf030e97a1.tar.gz
gdb-cd2c720ae26b746f3e9e4db4cbd6aadf030e97a1.tar.bz2
Add ``set processor'' - an alias to ``set architecture''.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bf1c757..f36f172 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Sep 1 11:21:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * top.c (init_main): Add ``set processor'' as an alias for ``set
+ architecture''.
+
Sat Aug 30 13:44:48 1997 Bob Manson <manson@charmed.cygnus.com>
* config/sparc/sparclite.mt: Removed simulator references (erc32
diff --git a/gdb/top.c b/gdb/top.c
index 0d951d9..80a2293 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -3573,6 +3573,7 @@ init_main ()
add_cmd ("architecture", class_support, set_architecture,
"Set architecture of target.", &setlist);
+ add_alias_cmd ("processor", "architecture", class_support, 1, &setlist);
add_cmd ("architecture", class_support, show_architecture,
"Show architecture of target.", &showlist);
add_cmd ("architecture", class_support, info_architecture,