diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/list0.c')
-rw-r--r-- | gdb/testsuite/gdb.base/list0.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/list0.c b/gdb/testsuite/gdb.base/list0.c new file mode 100644 index 00000000000..a5561a766a1 --- /dev/null +++ b/gdb/testsuite/gdb.base/list0.c @@ -0,0 +1,42 @@ +#include "list0.h" + +main () +{ + int x; +#ifdef usestubs + set_debug_traps(); + breakpoint(); +#endif + x = 0; + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); +} + +static void +unused () +{ + /* Not used for anything */ +} |