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: Fri, 16 May 2008 15:08:04 +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?
Hmm, maybe this would even save memory; a per-section addrmap would
not need to store any result except from the boolean "address in
section or not" flag ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com