aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/pc-fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/pc-fp.c')
-rw-r--r--gdb/testsuite/gdb.base/pc-fp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/pc-fp.c b/gdb/testsuite/gdb.base/pc-fp.c
new file mode 100644
index 0000000..8c89a0f
--- /dev/null
+++ b/gdb/testsuite/gdb.base/pc-fp.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+
+void
+foo (int i)
+{
+ i++;
+ printf ("In foo %d\n", i);
+}
+
+int
+main ()
+{
+ foo (1);
+}