projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
attach.c
diff --git
a/gdb/testsuite/gdb.base/attach.c
b/gdb/testsuite/gdb.base/attach.c
index 0041b4732d2efffe6078a3516d4e51f25c0da838..91b180c73c30dbcbb40c1ab3b9a92ef84c4c43e9 100644
(file)
--- a/
gdb/testsuite/gdb.base/attach.c
+++ b/
gdb/testsuite/gdb.base/attach.c
@@
-5,6
+5,7
@@
exit unless/until gdb sets the variable to non-zero.)
*/
#include <stdio.h>
+#include <unistd.h>
int should_exit = 0;
@@
-12,9
+13,11
@@
int main ()
{
int local_i = 0;
+ alarm (60);
+
while (! should_exit)
{
local_i++;
}
- return 0;
+ return 0;
/* postloop */
}
This page took
0.025322 seconds
and
4
git commands to generate.