binutils-gdb/gdb/testsuite/gdb.base/grbx.c
Michael Snyder ffd61a589b 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.
2002-04-13 00:21:40 +00:00

11 lines
113 B
C

static int grbxx = 'g' + 'r' + 'b' + 'x';
int grbx (int x)
{
if (x)
return grbxx;
else
return 0;
}