* [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
* Re: [SH][PATCH] sim memory size on windows
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
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2005-11-09 23:40 UTC (permalink / raw)
To: Andrew STUBBS; +Cc: gdb-patches
> Date: Wed, 09 Nov 2005 17:54:27 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
>
> I don't know what 'GO32' refers to so I have left it alone.
It refers to the DJGPP (a.k.a. MS-DOS) port of GDB. See
http://www.delorie.com/djgpp/
for more details about the DJGPP project.
GDB still supports this port.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SH][PATCH] sim memory size on windows
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
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-11-10 4:41 UTC (permalink / raw)
To: Andrew STUBBS; +Cc: gdb-patches
On Wed, Nov 09, 2005 at 05:54:27PM +0000, Andrew STUBBS wrote:
> 2005-11-09 Andrew Stubbs <andrew.stubbs@st.com>
>
> * interp.c (sim_memory_size): Use same amount of memory on Windows as
> elsewhere.
This is OK.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SH][PATCH] sim memory size on windows
2005-11-10 4:41 ` Daniel Jacobowitz
@ 2005-11-10 13:39 ` Andrew STUBBS
0 siblings, 0 replies; 4+ messages in thread
From: Andrew STUBBS @ 2005-11-10 13:39 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches
Daniel Jacobowitz wrote:
> On Wed, Nov 09, 2005 at 05:54:27PM +0000, Andrew STUBBS wrote:
>
>>2005-11-09 Andrew Stubbs <andrew.stubbs@st.com>
>>
>> * interp.c (sim_memory_size): Use same amount of memory on Windows as
>> elsewhere.
>
>
> This is OK.
>
>
Thanks, commited.
Andrew Stubbs
^ 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