This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: For example only, updated Windows DLL support and gdbserver DLL support


On Tue, Jun 19, 2007 at 11:43:21PM +0100, Pedro Alves wrote:
> Are .text and .data really loaded as one segment like on windows,
> or can AIX load them separately at arbitrary addresses irrespective
> of the order that they have on the file?  The bfd view of the order
> of the sections may be different from what the target would report.
> One might need to take that into account.

They're two separate sections, but they're named - i.e. it's clear
which one is text and which one is data.  Since this is all internal
to GDB, we can just define text to be the first segment.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]