mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-13 15:05:46 +00:00
ffd61a589b
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.
10 lines
103 B
C
10 lines
103 B
C
static int foox = 'f' + 'o' + 'o';
|
|
|
|
int foo (int x)
|
|
{
|
|
if (x)
|
|
return foox;
|
|
else
|
|
return 0;
|
|
}
|