From c906108c21474dfb4ed285bcc0ac6fe02cd400cc Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 16 Apr 1999 01:35:26 +0000 Subject: Initial creation of sourceware repository --- gdb/testsuite/gdb.base/solib2.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gdb/testsuite/gdb.base/solib2.c (limited to 'gdb/testsuite/gdb.base/solib2.c') diff --git a/gdb/testsuite/gdb.base/solib2.c b/gdb/testsuite/gdb.base/solib2.c new file mode 100644 index 0000000..2cd4513 --- /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; +} -- cgit v1.1