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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.base/] [structs2.c] - Blame information for rev 106

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

Line No. Rev Author Line
1 106 markom
/* pr 13536 */
2
 
3
static void param_reg (register 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 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.