summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.base/baz.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-04-13 00:21:40 +0000
committerMichael Snyder <msnyder@vmware.com>2002-04-13 00:21:40 +0000
commitffd61a589b365836fdc910490b4cc411016b4060 (patch)
tree074f9c989bbeb5c8d48c269fa0997729c29a8047 /gdb/testsuite/gdb.base/baz.c
parent694f61fb27a1c72db07c473e3876751f91dd0079 (diff)
downloadppe42-binutils-ffd61a589b365836fdc910490b4cc411016b4060.tar.gz
ppe42-binutils-ffd61a589b365836fdc910490b4cc411016b4060.zip
2002-04-12 Michael Snyder <msnyder@redhat.com>
From Jim Blandy <jimb@redhat.com> * gdb.base/foo.c (foox): Remove section attribute; the linker script can handle this instead. * gdb.base/bar.c (barx): Same. * gdb.base/baz.c (bazx): Same. * gdb.base/grbx.c (grbxx): Same. * gdb.base/overlays.exp: New test: check that GDB's manual overlay manager doesn't automatically unmap overlays unnecessarily.
Diffstat (limited to 'gdb/testsuite/gdb.base/baz.c')
-rw-r--r--gdb/testsuite/gdb.base/baz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/baz.c b/gdb/testsuite/gdb.base/baz.c
index a13cd16bbb..8da4ffa47a 100644
--- a/gdb/testsuite/gdb.base/baz.c
+++ b/gdb/testsuite/gdb.base/baz.c
@@ -1,4 +1,4 @@
-static int bazx __attribute__ ((section (".data02"))) = 'b' + 'a' + 'z';
+static int bazx = 'b' + 'a' + 'z';
int baz (int x)
{
OpenPOWER on IntegriCloud