Add ``set processor'' - an alias to ``set architecture''.
authorAndrew Cagney <cagney@redhat.com>
Mon, 1 Sep 1997 03:43:08 +0000 (03:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 1 Sep 1997 03:43:08 +0000 (03:43 +0000)
gdb/ChangeLog
gdb/top.c

index bf1c7575c1416ab7b7c9593c140cdfb4da4030a7..f36f1728198d5c403134e5a53d3ac65ce1435ed8 100644 (file)
@@ -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
index 0d951d9019dc1966dc7619158e6ffbcdf857bde5..80a2293c0226f4c4dbd7ec3ca1a5e9b307869573 100644 (file)
--- 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,