* [RFA] sim/m32r: increase the default memory region
@ 2003-10-23 1:09 Kei Sakamoto
2003-10-23 1:19 ` Kei Sakamoto
2003-10-23 1:53 ` Andrew Cagney
0 siblings, 2 replies; 3+ messages in thread
From: Kei Sakamoto @ 2003-10-23 1:09 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
Hello,
M32R simulator does not accept memory accesses whose addresses
are larger than 0x800000 (8MB) by default. But these days many
embedded applications require more memory space.
The attached patch increases the default memory region to 32MB.
OK to commit?
Kei Sakamoto
Renesas Technology Corp.
===
2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo : increases the default memory space to 32MB.
[-- Attachment #2: diffs --]
[-- Type: application/octet-stream, Size: 497 bytes --]
Index: sim-main.h
===================================================================
RCS file: /cvs/src/src/sim/m32r/sim-main.h,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 sim-main.h
--- sim-main.h 12 Oct 1999 04:37:53 -0000 1.1.1.2
+++ sim-main.h 23 Oct 2003 00:47:01 -0000
@@ -83,6 +83,6 @@
(TRANSFER), (ERROR))
/* Default memory size. */
-#define M32R_DEFAULT_MEM_SIZE 0x800000 /* 8M */
+#define M32R_DEFAULT_MEM_SIZE 0x2000000 /* 32M */
#endif /* SIM_MAIN_H */
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [RFA] sim/m32r: increase the default memory region
2003-10-23 1:09 [RFA] sim/m32r: increase the default memory region Kei Sakamoto
@ 2003-10-23 1:19 ` Kei Sakamoto
2003-10-23 1:53 ` Andrew Cagney
1 sibling, 0 replies; 3+ messages in thread
From: Kei Sakamoto @ 2003-10-23 1:19 UTC (permalink / raw)
To: Kei Sakamoto, gdb-patches
> Hello,
>
> M32R simulator does not accept memory accesses whose addresses
> are larger than 0x800000 (8MB) by default. But these days many
> embedded applications require more memory space.
>
> The attached patch increases the default memory region to 32MB.
>
> OK to commit?
>
> Kei Sakamoto
> Renesas Technology Corp.
>
>
> ===
>
> 2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
>
> * gdb.texinfo : increases the default memory space to 32MB.
Sorry. I attached the wrong Changelog.
===
2003-10-23 Kei Sakamoto <sakamoto.kei@renesas.com>
* sim-main.h : Increase the default memory space to 32MB.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [RFA] sim/m32r: increase the default memory region
2003-10-23 1:09 [RFA] sim/m32r: increase the default memory region Kei Sakamoto
2003-10-23 1:19 ` Kei Sakamoto
@ 2003-10-23 1:53 ` Andrew Cagney
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-10-23 1:53 UTC (permalink / raw)
To: Kei Sakamoto; +Cc: gdb-patches
> Hello,
>
> M32R simulator does not accept memory accesses whose addresses
> are larger than 0x800000 (8MB) by default. But these days many
> embedded applications require more memory space.
>
> The attached patch increases the default memory region to 32MB.
>
> OK to commit?
What exactly (if you can say) is ~32mb in size?
It's been assumed that a user would increase memory by specifying:
-M <size>
(off the top of my head). The default being based on on whats needed by
GCC/GDB's testsuite (ignoring java) (it does contain some not too small
programs). So making it bigger is a notable tradeoff (but it has been
creaping up over time).
PSIM, for instance, avoided the problem by using OS emulation - it
models a heap and stack - so can handle [UN*X] programs of any size.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-23 1:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 1:09 [RFA] sim/m32r: increase the default memory region Kei Sakamoto
2003-10-23 1:19 ` Kei Sakamoto
2003-10-23 1:53 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox