aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/coremaker.c
blob: 79418bea4ed3bbb3ec001e92e66579e6981383e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Simple little program that just generates a core dump from inside some
   nested function calls. */


void
func2 ()
{
  abort ();
}

void
func1 ()
{
  func2 ();
}

main ()
{
  func1 ();
}