[PATCH-DEJAGNU] Force DMAP2 register when running d10v tests
Andrew Cagney
ac131313@cygnus.com
Thu Feb 17 01:37:00 GMT 2000
Hello,
I don't see anyone objecting to the test. I'm just what the commit
policy for this part of the repository is.
enjoy,
Andrew
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.
Index: baseboards/d10v.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/dejagnu/baseboards/d10v.exp,v
retrieving revision 1.12
diff -p -r1.12 d10v.exp
*** d10v.exp 1999/09/15 20:49:56 1.12
--- d10v.exp 2000/02/17 09:30:06
*************** set_board_info gcc,no_label_values 1
*** 54,56 ****
--- 54,60 ----
# 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"
More information about the Binutils
mailing list