This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Overlay support broken (Re: [patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap))
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: jan dot kratochvil at redhat dot com (Jan Kratochvil), gdb-patches at sources dot redhat dot com
- Date: Thu, 15 May 2008 19:39:46 +0200 (CEST)
- Subject: Re: Overlay support broken (Re: [patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap))
Daniel Jacobowitz wrote:
> Yes, I don't like that part either. I wonder if the memory usage
> would be too bad if we kept an addrmap for each section and one
> combined one for the non-overlay case?
>
> I don't know what overlay debug info looks like. Can we detect
> overlays in any practical way when reading in symbols?
Not really, I don't think there is any indication in the debug
info that we have an overlay. The address ranges just happen
to overlap ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com