aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/basics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/basics.c')
-rw-r--r--gdb/testsuite/gdb.mi/basics.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/basics.c b/gdb/testsuite/gdb.mi/basics.c
index 5b52112..e4be7b2 100644
--- a/gdb/testsuite/gdb.mi/basics.c
+++ b/gdb/testsuite/gdb.mi/basics.c
@@ -51,6 +51,11 @@ void callme (int i)
printf ("callme\n");
}
+int return_1 ()
+{
+ return 1;
+}
+
main ()
{
callee1 (2, "A string argument.", 3.5);