OSDN Git Service

Force d10v's DMAP2 to 0x2000 before running any tests.
authorcagney <cagney>
Fri, 18 Feb 2000 00:55:01 +0000 (00:55 +0000)
committercagney <cagney>
Fri, 18 Feb 2000 00:55:01 +0000 (00:55 +0000)
dejagnu/ChangeLog
dejagnu/baseboards/d10v.exp

index 0270f33..ecaad7b 100644 (file)
@@ -1,3 +1,8 @@
+Thu Feb 17 20:24:21 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * baseboards/d10v.exp (gdb_init_command): Force register DMAP2 to
+       0x2000 so that the d10v VM matches the simulator.
+
 2000-02-15  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * lib/target.exp: Strip warnings about dangerous functions.
index 3e46e11..254556e 100644 (file)
@@ -54,3 +54,7 @@ set_board_info gcc,no_label_values  1
 
 # sizeof int != sizeof long.
 set_board_info gdb,short_int 1
+
+# Some d10v:ts3 boards are in ts2-board compatibility mode after a reset.
+# Force it into d10v:ts3 internal mode
+set_board_info gdb_init_command "set \$dmap2 = 0x2000"