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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.cp/] [psmang1.cc] - Blame information for rev 834

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

Line No. Rev Author Line
1 227 jeremybenn
/* This test script is part of GDB, the GNU debugger.
2
 
3
   Copyright 2002, 2004,
4
   Free Software Foundation, Inc.
5
 
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License as published by
8
   the Free Software Foundation; either version 3 of the License, or
9
   (at your option) any later version.
10
 
11
   This program is distributed in the hope that it will be useful,
12
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
   GNU General Public License for more details.
15
 
16
   You should have received a copy of the GNU General Public License
17
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
   */
19
 
20
/* Do not move this definition into a header file!  See the comments
21
   in psmang.exp.  */
22
struct s
23
{
24
  int value;
25
  void method1 (void);
26
  void method2 (void);
27
};
28
 
29
void
30
s::method1 ()
31
{
32
  value = 42;
33
}
34
 
35
int
36
main (int argc, char **argv)
37
{
38
  s si;
39
 
40
  si.method1 ();
41
  si.method2 ();
42
}
43
 
44
 
45
/* The presence of these variables ensures there will be so many
46
   symbols in psmang1.cc's symtab's global block that it will have a
47
   non-trivial hash table.  When there are only a very few symbols,
48
   the block only has one hash bucket, so even if we compute the hash
49
   value for the wrong symbol name, we'll still find a symbol that
50
   matches.  */
51
int ax;
52
int bx;
53
int a1x;
54
int b1x;
55
int a2x;
56
int b2x;
57
int a12x;
58
int b12x;
59
int a3x;
60
int b3x;
61
int a13x;
62
int b13x;
63
int a23x;
64
int b23x;
65
int a123x;
66
int b123x;
67
int a4x;
68
int b4x;
69
int a14x;
70
int b14x;
71
int a24x;
72
int b24x;
73
int a124x;
74
int b124x;
75
int a34x;
76
int b34x;
77
int a134x;
78
int b134x;
79
int a234x;
80
int b234x;
81
int a1234x;
82
int b1234x;
83
int a5x;
84
int b5x;
85
int a15x;
86
int b15x;
87
int a25x;
88
int b25x;
89
int a125x;
90
int b125x;
91
int a35x;
92
int b35x;
93
int a135x;
94
int b135x;
95
int a235x;
96
int b235x;
97
int a1235x;
98
int b1235x;
99
int a45x;
100
int b45x;
101
int a145x;
102
int b145x;
103
int a245x;
104
int b245x;
105
int a1245x;
106
int b1245x;
107
int a345x;
108
int b345x;
109
int a1345x;
110
int b1345x;
111
int a2345x;
112
int b2345x;
113
int a12345x;
114
int b12345x;
115
int a6x;
116
int b6x;
117
int a16x;
118
int b16x;
119
int a26x;
120
int b26x;
121
int a126x;
122
int b126x;
123
int a36x;
124
int b36x;
125
int a136x;
126
int b136x;
127
int a236x;
128
int b236x;
129
int a1236x;
130
int b1236x;
131
int a46x;
132
int b46x;
133
int a146x;
134
int b146x;
135
int a246x;
136
int b246x;
137
int a1246x;
138
int b1246x;
139
int a346x;
140
int b346x;
141
int a1346x;
142
int b1346x;
143
int a2346x;
144
int b2346x;
145
int a12346x;
146
int b12346x;
147
int a56x;
148
int b56x;
149
int a156x;
150
int b156x;
151
int a256x;
152
int b256x;
153
int a1256x;
154
int b1256x;
155
int a356x;
156
int b356x;
157
int a1356x;
158
int b1356x;
159
int a2356x;
160
int b2356x;
161
int a12356x;
162
int b12356x;
163
int a456x;
164
int b456x;
165
int a1456x;
166
int b1456x;
167
int a2456x;
168
int b2456x;
169
int a12456x;
170
int b12456x;
171
int a3456x;
172
int b3456x;
173
int a13456x;
174
int b13456x;
175
int a23456x;
176
int b23456x;
177
int a123456x;
178
int b123456x;

powered by: WebSVN 2.1.0

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