This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple inferiors and memory consumption
On Tue, 2012-07-10 at 13:09 -0600, Tom Tromey wrote:
> Chris> We have a patch that allows multiple programs_spaces to share the same
> Chris> objfiles by moving the linked list entry into a new struct
> Chris> objfile_instance.
>
> Presumably this only works if the objfile is mapped at the same address
> in each inferior.
Yes, indeed, so it works well for executables, but less well for shared
libraries.
Chris