OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [structs2.c] - Blame information for rev 178

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* pr 13536 */
2
 
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);
7
 
8
int bkpt;
9
 
10
int
11
main ()
12
{
13
#ifdef usestubs
14
  set_debug_traps ();
15
  breakpoint ();
16
#endif
17
 
18
  bkpt = 0;
19
  param_reg (120, 130, 32000, 33000);
20
  param_reg (130, 120, 33000, 32000);
21
 
22
  return 0;
23
}
24
 
25
static void dummy () {}
26
 
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)
32
{
33
  bkpt = 1;
34
  dummy ();
35
  pr_char = 1;
36
  pr_uchar = pr_short = pr_ushort = 1;
37
  dummy ();
38
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.