This is the mail archive of the gdb@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: [RFC] target defined OSABI sniffer


Ah...good point.  GDB will need to associate an arch with a frame.  You
can't have backends overriding stuff blindly without knowing the context.

Kris
----- Original Message ----- 
From: "Andrew Cagney" <ac131313@redhat.com>
To: "Kris Warkentin" <kewarken@qnx.com>
Cc: "Gdb@Sources.Redhat.Com" <gdb@sources.redhat.com>
Sent: Thursday, June 26, 2003 11:46 AM
Subject: Re: [RFC] target defined OSABI sniffer


> > It seems that a lot of effort has been put into the multi-arch stuff but
> > most of it centers around recognizing a binary and setting things up
based
> > on that.  I'm pondering whether that is the right approach in all cases.
> > Shouldn't the target be telling gdb what it should be doing rather than
the
> > other way around?
>
> Yes.
>
> Will need to read the rest of your e-mail later :-(  BTW, there's also:
>
http://sources.redhat.com/gdb/papers/multi-arch/real-multi-arch/index.html#SEC40
> as a second discussion point.
>
> Andrew
>
>
>



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