This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)
On Tue, Oct 09, 2007 at 08:54:34PM +0200, Jan Kratochvil wrote:
> > I bet you don't need a custom linker script and -nostdlib to test
> > this. Gas must be generating the DW_AT_ranges itself regardless of
> > whether there's a gap.
>
> Which one, .space, .org +x? These all fill the space with flesh bytes.
No, you just need the two sections. Does that work with the default
linker script and without -nostdlib? Just call the entry point main
instead of _start.
At that point it doesn't need to be i386 specific, either (see any of
the other tests in the same directory).
--
Daniel Jacobowitz
CodeSourcery