This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Symbol tables for separately linked pieces
- From: Michael Snyder <msnyder at specifix dot com>
- To: Paul Koning <Paul_Koning at dell dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 11 Jul 2008 19:35:34 -0700
- Subject: Re: Symbol tables for separately linked pieces
- References: <18550.7195.371436.629820@gargle.gargle.HOWL>
On Thu, 2008-07-10 at 10:26 -0400, Paul Koning wrote:
> I have an application that consists of two parts, a main program which
> is one ELF image and a subsystem which is separately linked as an ELF
> image of its own. The latter is loade into a portion of the address
> space of the former at startup. The symbol table of the subsystem
> image reflects its final load address.
As others have said, this sort of anticipates the challenges
we will face with heterogenous multi-process debugging.
My separate question is, why wouldn't your application be
suitable for a shared library?