mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
new files; part of HP merge.
This commit is contained in:
18
gdb/testsuite/gdb.base/so-impl-ld.c
Normal file
18
gdb/testsuite/gdb.base/so-impl-ld.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/* This program is linked against SOM shared libraries, which the loader
|
||||
automatically loads along with the program itself).
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern int solib_main (int);
|
||||
|
||||
main ()
|
||||
{
|
||||
int result;
|
||||
|
||||
/* Call a shlib function. */
|
||||
result = solib_main (100);
|
||||
|
||||
/* Call it again. */
|
||||
result = solib_main (result);
|
||||
}
|
||||
Reference in New Issue
Block a user