repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix C++ template function matching in cooked index
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
gdbvars.c
blob
46fa84b122249e51349f283f01aa1abf6e402e2e
1
/* Simple program to help exercise gdb's convenience variables. */
2
3
typedef
void
*
ptr
;
4
5
ptr p
= &
p
;
6
7
void
8
foo_void
(
void
)
9
{
10
}
11
12
int
13
foo_int
(
void
)
14
{
15
return
0
;
16
}
17
18
int
19
main
()
20
{
21
p
= &
p
;
22
return
0
;
23
}