From: Andrew STUBBS <andrew.stubbs@st.com>
To: gdb-patches@sources.redhat.com
Subject: [SH][PATCH] sim memory size on windows
Date: Wed, 09 Nov 2005 19:25:00 -0000 [thread overview]
Message-ID: <437237D3.8050208@st.com> (raw)
[-- 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;
next reply other threads:[~2005-11-09 17:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 19:25 Andrew STUBBS [this message]
2005-11-09 23:40 ` Eli Zaretskii
2005-11-10 4:41 ` Daniel Jacobowitz
2005-11-10 13:39 ` Andrew STUBBS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=437237D3.8050208@st.com \
--to=andrew.stubbs@st.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox