diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/solib2.c')
-rw-r--r-- | gdb/testsuite/gdb.base/solib2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/solib2.c b/gdb/testsuite/gdb.base/solib2.c new file mode 100644 index 00000000000..2cd451321bd --- /dev/null +++ b/gdb/testsuite/gdb.base/solib2.c @@ -0,0 +1,9 @@ +/* This program is intended to be built as an HP-UX SOM shared + library, for use by the solib.exp testcase. It simply returns + the cube of its integer argument. + */ +int solib_main (arg) + int arg; +{ + return arg*arg*arg; +} |