This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use mmap for symbol tables
- From: David Anderson <davea at quasar dot engr dot sgi dot com>
- To: eirik at hackrat dot com, jimb at red-bean dot com
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 30 Jan 2006 20:49:48 -0800 (PST)
- Subject: Re: [PATCH] Use mmap for symbol tables
Eirik Fuller <eirik@hackrat.com>
> I've already mentioned that the wasted address space isn't all that big,
> at least not in the symbol tables I'm accustomed to. Anyone who is
> crowding the limits of virtual address space will run out soon enough
The size of the text and the data can be very large indeed.
And those, as mmap, are not going to be used normally.
So are wasted virtual address space in the debugger.
If gdb runs out of space building what it needs that's one thing.
But running out because gdb is wasting space is another thing
entirely -- best not to go there.
Again, this is a 'been there done that' comment and
is, I hope, not a waste of everyone's time (or worse).
David Anderson