diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/foo.c')
-rw-r--r-- | gdb/testsuite/gdb.base/foo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/foo.c b/gdb/testsuite/gdb.base/foo.c new file mode 100644 index 0000000..ada9cf4 --- /dev/null +++ b/gdb/testsuite/gdb.base/foo.c @@ -0,0 +1,9 @@ +static int foox __attribute__ ((section (".data00"))) = 'f' + 'o' + 'o'; + +int foo (int x) +{ + if (x) + return foox; + else + return 0; +} |