* [SH][PATCH] sim memory size on windows
@ 2005-11-09 19:25 Andrew STUBBS
2005-11-09 23:40 ` Eli Zaretskii
2005-11-10 4:41 ` Daniel Jacobowitz
0 siblings, 2 replies; 4+ messages in thread
From: Andrew STUBBS @ 2005-11-09 19:25 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Hi,
This is very simple patch which makes the SH simulator use the same
memory on Windows as it does on other platforms.
As far as I can tell the simulator is like this because, once upon a
time, Windows typically ran on low memory machines or without virtual
memory or something. Clearly this is no longer the case (not compared to
the size of the simulator anyway) and I can see no good reason why the
default should be any different to other machines.
The user may still override the setting via the 'target sim' command, of
course.
I don't know what 'GO32' refers to so I have left it alone.
Andrew Stubbs
[-- Attachment #2: sim_mem.patch --]
[-- Type: text/plain, Size: 520 bytes --]
2005-11-09 Andrew Stubbs <andrew.stubbs@st.com>
* interp.c (sim_memory_size): Use same amount of memory on Windows as
elsewhere.
Index: src/sim/sh/interp.c
===================================================================
--- src.orig/sim/sh/interp.c 2005-09-19 12:29:30.000000000 +0100
+++ src/sim/sh/interp.c 2005-11-02 12:26:20.000000000 +0000
@@ -853,7 +853,7 @@ do { \
#endif
-#if defined(__GO32__) || defined(_WIN32)
+#if defined(__GO32__)
int sim_memory_size = 19;
#else
int sim_memory_size = 24;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-10 11:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-09 19:25 [SH][PATCH] sim memory size on windows Andrew STUBBS
2005-11-09 23:40 ` Eli Zaretskii
2005-11-10 4:41 ` Daniel Jacobowitz
2005-11-10 13:39 ` Andrew STUBBS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox