Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.base / structs2.c
blobf1eeab1adc2e73d84af0d3d116a5acb584470b6c
1 /* pr 13536 */
3 static void param_reg (register signed char pr_char,
4 register unsigned char pr_uchar,
5 register short pr_short,
6 register unsigned short pr_ushort);
8 int bkpt;
10 int
11 main ()
13 #ifdef usestubs
14 set_debug_traps ();
15 breakpoint ();
16 #endif
18 bkpt = 0;
19 param_reg (120, 130, 32000, 33000);
20 param_reg (130, 120, 33000, 32000);
22 return 0;
25 static void dummy () {}
27 static void
28 param_reg(register signed char pr_char,
29 register unsigned char pr_uchar,
30 register short pr_short,
31 register unsigned short pr_ushort)
33 bkpt = 1;
34 dummy ();
35 pr_char = 1;
36 pr_uchar = pr_short = pr_ushort = 1;
37 dummy ();