This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Increase sim/MIPS default memory


Hello All,

I applied the appended patch, it increases the default memory size of
MIPS sim to 8 MB, this helps with executing some of the larger C++
regression tests.


Thiemo


2007-02-19  Thiemo Seufer <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

	* interp.c (MEM_SIZE): Increase default memory size from 2 to 8
	MBytes.


Index: head/sim/mips/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mips/interp.c,v
retrieving revision 1.19
diff -u -p -r1.19 interp.c
--- head/sim/mips/interp.c	12 May 2004 01:42:33 -0000	1.19
+++ head/sim/mips/interp.c	24 Nov 2006 13:39:08 -0000
@@ -156,7 +156,7 @@ static SIM_ADDR lsipmon_monitor_base = 0
 static SIM_RC sim_firmware_command (SIM_DESC sd, char* arg);
 
 
-#define MEM_SIZE (2 << 20)
+#define MEM_SIZE (8 << 20)	/* 8 MBytes */
 
 
 #if defined(TRACE)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]