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
[PATCH 5/57][Arm][GAS] Add support for MVE instructions: vmull{b,t}
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
recurse.c
blob
821c2de6de7723edc580f4f42666eb567f44c689
1
/* Trivial code used to test watchpoints in recursive code and
2
auto-deletion of watchpoints as they go out of scope. */
3
4
static int
5
recurse
(
int
a
)
6
{
7
int
b
=
0
;
8
9
if
(
a
==
1
)
10
return
1
;
11
12
b
=
a
;
13
b
*=
recurse
(
a
-
1
);
14
return
b
;
15
}
16
17
int
main
()
18
{
19
recurse
(
10
);
20
return
0
;
21
}