This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Moving x86-64 configuration to separate directory


Mark Kettenis wrote:
> Michal Ludvig <mludvig@suse.cz> writes:
>>I'm about to move all x86-64 configuration stuff to a separate 
>>directory. For now it resides in config/i386 but AFAIK this is a relict 
>>of cloning the the files from eachother, not the necessity.
>>Yet more x86-64 is definitely a different architecture than i386 :-)
> 
> Is it really?  My understanding is that it is comparable to sparc
> vs. sparc64.  Isn't it possiblle to execute normal 32-bit i386 code on
> the x86_64?  In that case, you'd probably want to have a GDB that can
> handle both.  The only way to be able to accomplish that in the near
> future is seeing them as different variants of the same architecture.

I was told it isn't possible to have gdb supporting both x86-64 and i386 
unless i386 is fully mutliarched. And after it is I don't need to treat 
them as different flavors of one arch, do I?

 > In that case you should leave the files where they are now.
 > Incidentally that's what GCC does.

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* +420 2 9654 5373   * http://www.suse.cz


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