aboutsummaryrefslogtreecommitdiff
path: root/gdb/testattach.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testattach.c')
-rw-r--r--gdb/testattach.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testattach.c b/gdb/testattach.c
new file mode 100644
index 0000000..c56a0fe
--- /dev/null
+++ b/gdb/testattach.c
@@ -0,0 +1,10 @@
+main ()
+{
+ int x = 0;
+
+ while (1)
+ {
+ sleep (1);
+ x++;
+ }
+}