aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-09-21 22:50:23 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-09-21 22:50:23 +0000
commit8b89f5aa47cd4abcd7f40714cdc10f6b6f8c42d1 (patch)
tree4c9c7dd8c03adf5a63d3014690c4441424272372
parent4f35cbffa65878106259680eea8134ed0acee9e7 (diff)
downloadgdb-8b89f5aa47cd4abcd7f40714cdc10f6b6f8c42d1.zip
gdb-8b89f5aa47cd4abcd7f40714cdc10f6b6f8c42d1.tar.gz
gdb-8b89f5aa47cd4abcd7f40714cdc10f6b6f8c42d1.tar.bz2
Default stack creation; fixup last change.
-rw-r--r--sim/ppc/device_tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/ppc/device_tree.c b/sim/ppc/device_tree.c
index a66900d..3a0f60e 100644
--- a/sim/ppc/device_tree.c
+++ b/sim/ppc/device_tree.c
@@ -40,7 +40,11 @@
#define OEA_START_ADDRESS 4096
#endif
-enum { clayton_memory_size = 0x100000 };
+#ifndef OEA_MEMORY_SIZE
+#define OEA_MEMORY_SIZE 0x100000
+#endif
+
+enum { clayton_memory_size = OEA_MEMORY_SIZE };
/* insert the address into the device_nodes sorted list of addresses */
INLINE_DEVICE_TREE void