diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/grbx.c')
-rw-r--r-- | gdb/testsuite/gdb.base/grbx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/grbx.c b/gdb/testsuite/gdb.base/grbx.c new file mode 100644 index 00000000000..92f732344a3 --- /dev/null +++ b/gdb/testsuite/gdb.base/grbx.c @@ -0,0 +1,10 @@ +static int grbxx __attribute__ ((section (".data03"))) = 'g' + 'r' + 'b' + 'x'; + +int grbx (int x) +{ + if (x) + return grbxx; + else + return 0; +} + |