aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/skip-solib-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/skip-solib-lib.c')
-rw-r--r--gdb/testsuite/gdb.base/skip-solib-lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/skip-solib-lib.c b/gdb/testsuite/gdb.base/skip-solib-lib.c
index b2c4d86..341f144 100644
--- a/gdb/testsuite/gdb.base/skip-solib-lib.c
+++ b/gdb/testsuite/gdb.base/skip-solib-lib.c
@@ -7,5 +7,6 @@ int multiply(int a, int b)
int square(int num)
{
- return multiply(num, num);
+ int res = multiply(num, num);
+ return res;
}