Add v850e version of breakpoint. Make v850 breakpoint unique.
authorAndrew Cagney <cagney@redhat.com>
Tue, 16 Sep 1997 02:19:56 +0000 (02:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 16 Sep 1997 02:19:56 +0000 (02:19 +0000)
gdb/ChangeLog
gdb/config/v850/tm-v850.h

index 3cb3782..0fc5198 100644 (file)
@@ -1,3 +1,10 @@
+Tue Sep 16 10:08:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/v850/tm-v850.h (BREAKPOINT): Set to a truely illegal
+       instruction.
+
+       * exec.c (exec_file_command): Call set_architecture_from_file.
+
 Mon Sep 15 13:01:22 1997  Mark Alexander  <marka@cygnus.com>
 
        * dbxread.c (MSYMBOL_SIZE): New macro.
index 7afd568..07d1e02 100644 (file)
@@ -67,7 +67,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define MAX_REGISTER_VIRTUAL_SIZE 4
 
-#define BREAKPOINT {0xff, 0xff}
+/* start-sanitize-v850e */
+#if 1
+#define BREAKPOINT {0x40, 0xf8} /* little-ended */
+#else
+/* end-sanitize-v850e */
+#define BREAKPOINT {0xff, 0xff, 0xff, 0xff}
+/* start-sanitize-v850e */
+#endif
+/* end-sanitize-v850e */
 
 #define FUNCTION_START_OFFSET 0