This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
[PATCH-DEJAGNU] Force DMAP2 register when running d10v tests
- To: BINUTILS Patches <binutils at sourceware dot cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [PATCH-DEJAGNU] Force DMAP2 register when running d10v tests
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 17 Feb 2000 20:36:32 +1100
- Organization: Cygnus Solutions
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"