diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/fixsectshr.c')
-rw-r--r-- | gdb/testsuite/gdb.base/fixsectshr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/fixsectshr.c b/gdb/testsuite/gdb.base/fixsectshr.c new file mode 100644 index 00000000000..8470826bdd1 --- /dev/null +++ b/gdb/testsuite/gdb.base/fixsectshr.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <stdlib.h> + +static FILE *static_fun = NULL; + +FILE * +force_static_fun (void) +{ + return static_fun; +} |