New commands ``set architecture'', ``show architecture'' and ``info
[binutils-gdb.git] / gdb / sh3-rom.c
index 92992607199f27e17f5c9b8f035fffcc42a63ca2..a4e3b7146aef0e6883ad3933244fc124ede2129f 100644 (file)
@@ -284,7 +284,7 @@ sh3_open (args, from_tty)
     }
 
   /* If we connected successfully, we know the processor is an SH3.  */
-  sh_set_processor_type ("sh3");
+  set_architecture ("sh3", 0);
 }
 
 
@@ -333,7 +333,7 @@ sh3e_open (args, from_tty)
     }
 
   /* If we connected successfully, we know the processor is an SH3E.  */
-  sh_set_processor_type ("sh3e");
+  set_architecture ("sh3e", 0);
 }
 
 static void