aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/huge.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/huge.c')
-rw-r--r--gdb/testsuite/gdb.base/huge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/huge.c b/gdb/testsuite/gdb.base/huge.c
index 446bb18..27ba04e 100644
--- a/gdb/testsuite/gdb.base/huge.c
+++ b/gdb/testsuite/gdb.base/huge.c
@@ -7,9 +7,9 @@
/* A value that will produce a target data object large enough to
crash GDB. 0x200000 is big enough on GNU/Linux, other systems may
need a larger number. */
-
+#ifndef CRASH_GDB
#define CRASH_GDB 0x200000
-
+#endif
static int a[CRASH_GDB], b[CRASH_GDB];
main()