]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.base/huge.c
2 * Test GDB's ability to read a very large data object from target memory.
6 * A value that will produce a target data object
7 * large enough to crash GDB. 0x200000 is big enough
8 * on Linux, other systems may need a larger number.
11 #define CRASH_GDB 0x200000
13 static int a
[CRASH_GDB
], b
[CRASH_GDB
];
17 memcpy (a
, b
, sizeof (a
));