aboutsummaryrefslogtreecommitdiff
path: root/gdb/testreg.c
blob: f19ec05cbcc8473a0be1a22f20c51962000faba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
main (argc, argv)
     int argc;
     char **argv;
{
  register int d1 = 34;
  register int d2 = 35;
  register int d3 = 36;
  register int d4 = 37;
  register char *a1 = "1";
  register char *a2 = "2";
  register char *a3 = "3";
  register char *a4 = "4";
  register char *a5 = "5";
  int x[4];
  foo ();
  foo (0x222, abort (), 0x444);
}

foo ()
{
  return 22;
}