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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.base/] [miscexprs.c] - Blame information for rev 816

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

Line No. Rev Author Line
1 227 jeremybenn
void
2
marker1 ()
3
{
4
 
5
}
6
 
7
int
8
main ()
9
{
10
  STORAGE struct {
11
    char c[100];
12
  } cbig;
13
 
14
  STORAGE struct {
15
    int i[800];
16
  } ibig;
17
 
18
  STORAGE struct {
19
    long l[900];
20
  } lbig;
21
 
22
  STORAGE struct {
23
    float f[200];
24
  } fbig;
25
 
26
  STORAGE struct {
27
    double d[300];
28
  } dbig;
29
 
30
  STORAGE struct {
31
    short s[400];
32
  } sbig;
33
 
34
  ibig.i[100] = 5;
35
  cbig.c[0] = '\0';
36
  cbig.c[99] = 'A';
37
  fbig.f[100] = 11.99999;
38
  dbig.d[202] = 9.99999999;
39
  sbig.s[90] = 255;
40
  lbig.l[333] = 999999999;
41
 
42
#ifdef usestubs
43
  set_debug_traps ();
44
  breakpoint ();
45
#endif
46
 
47
  marker1 ();
48
  return 0;
49
}

powered by: WebSVN 2.1.0

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