From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28327 invoked by alias); 26 Jun 2003 18:31:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28317 invoked from network); 26 Jun 2003 18:31:50 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sources.redhat.com with SMTP; 26 Jun 2003 18:31:50 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3p2/8.9.3) with ESMTP id OAA03646; Thu, 26 Jun 2003 14:24:19 -0400 Received: from catdog ([10.4.2.2]) by smtp.ott.qnx.com (8.8.8/8.6.12) with SMTP id OAA06438; Thu, 26 Jun 2003 14:31:49 -0400 Message-ID: <046201c33c11$43ee30e0$0202040a@catdog> From: "Kris Warkentin" To: "Andrew Cagney" Cc: "Gdb@Sources.Redhat.Com" References: <040001c33bf1$4ed98060$0202040a@catdog> <3EFB1542.3020308@redhat.com> Subject: Re: [RFC] target defined OSABI sniffer Date: Thu, 26 Jun 2003 18:56:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-06/txt/msg00497.txt.bz2 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" To: "Kris Warkentin" Cc: "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 > > >