This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] target defined OSABI sniffer
- From: "Kris Warkentin" <kewarken at qnx dot com>
- To: "Andrew Cagney" <ac131313 at redhat dot com>
- Cc: "Gdb at Sources dot Redhat dot Com" <gdb at sources dot redhat dot com>
- Date: Thu, 26 Jun 2003 14:32:14 -0400
- Subject: Re: [RFC] target defined OSABI sniffer
- References: <040001c33bf1$4ed98060$0202040a@catdog> <3EFB1542.3020308@redhat.com>
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
>
>
>