This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Shared libraries over the remote protocol, take two
Daniel Jacobowitz <drow@false.org> writes:
> On Mon, Jun 18, 2007 at 12:31:58PM -0700, Jim Blandy wrote:
>> With the following DTD:
>>
>> <!-- library-list: Root element with versioning -->
>> <!ELEMENT library-list (library)*>
>> <!ATTLIST library-list version CDATA #FIXED "1.0">
>> <!ELEMENT library (segment)*>
>> <!ATTLIST library name CDATA #REQUIRED>
>> <!ELEMENT segment EMPTY>
>> <!ATTLIST segment address CDATA #REQUIRED>
>>
>> there's no way to have several segments at different offsets, because
>> segments aren't allowed to have names. Shouldn't segments have a name
>> attribute?
>
> I don't think we need to name them to do that. If we did, we'd have
> to define meanings for the names, and so forth...
Oh, I see: they're *segments*, not sections. That seems fine.