Re: Overlay support broken (Re: [patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap))

Daniel Jacobowitz
2008-05-12T20:39:58Z

On Mon, May 12, 2008 at 01:06:44PM -0700, Michael Snyder wrote:
> I wrote that overlay code over 10 years ago.
> I wonder whether anyone still uses it?

On Mon, May 12, 2008 at 10:32:32PM +0200, Jan Kratochvil wrote:
> I generally considered the overlays to be no longer supported and just still
> not removed from the code. While reading other GDB code I was feeling overlays
> are no longer supported on multiple places but sure I may be wrong.
>
> Could you please name which current arch is dependent on overlaying?

As you may be able to guess from context, the answer is SPU :-)

Each SPE has only a 256K local store which it uses for code, stack,
and heap. That's not very much space, so overlays are frequently
required.

--
Daniel Jacobowitz
CodeSourcery