diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/skip-solib-lib.c')
-rw-r--r-- | gdb/testsuite/gdb.base/skip-solib-lib.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/skip-solib-lib.c b/gdb/testsuite/gdb.base/skip-solib-lib.c new file mode 100644 index 0000000..792cd01 --- /dev/null +++ b/gdb/testsuite/gdb.base/skip-solib-lib.c @@ -0,0 +1,11 @@ +/* Simple shared library */ + +int square(int num) +{ + return multiply(num, num); +} + +int multiply(int a, int b) +{ + return a * b; +} |