[Committing the `catch syscall' patch for ARM, from Samuel Bronson.]
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / solib2.c
CommitLineData
c906108c
SS
1/* This program is intended to be built as an HP-UX SOM shared
2 library, for use by the solib.exp testcase. It simply returns
3 the cube of its integer argument.
4 */
085dd6e6
JM
5#ifdef __cplusplus
6extern "C" {
7#endif
8#ifdef PROTOTYPES
9int solib_main (int arg)
10#else
c906108c
SS
11int solib_main (arg)
12 int arg;
085dd6e6 13#endif
c906108c
SS
14{
15 return arg*arg*arg;
16}
085dd6e6
JM
17#ifdef __cplusplus
18}
19#endif
This page took 1.496009 seconds and 4 git commands to generate.