From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21412 invoked by alias); 20 Apr 2002 02:55:14 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21369 invoked from network); 20 Apr 2002 02:55:13 -0000 Received: from unknown (HELO pizda.ninka.net) (216.101.162.242) by sources.redhat.com with SMTP; 20 Apr 2002 02:55:13 -0000 Received: from localhost (IDENT:davem@localhost.localdomain [127.0.0.1]) by pizda.ninka.net (8.9.3/8.9.3) with ESMTP id TAA09345; Fri, 19 Apr 2002 19:46:33 -0700 Date: Fri, 19 Apr 2002 19:55:00 -0000 Message-Id: <20020419.194632.133990799.davem@redhat.com> To: ac131313@cygnus.com Cc: msnyder@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Sparc/Linux fixes part 1 From: "David S. Miller" In-Reply-To: <3CC0D67F.5060504@cygnus.com> References: <3CC0CEB1.9080106@cygnus.com> <20020419.190949.100077712.davem@redhat.com> <3CC0D67F.5060504@cygnus.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00667.txt.bz2 From: Andrew Cagney Date: Fri, 19 Apr 2002 22:46:23 -0400 How does this Kernel, for instance, differentate between a GNU/Linux sparc binary and a Solaris binary when doing emulation? To make this clear, it doesn't know until the first system call is made, this is a fact. The trap used for system calls are different, but the binary information is identical. Only the bfd/executable information is available at the time we make gdbarch decisions. Can we get over this issue so I can get to the more globally (read as: changes that get 64-bit Solaris/Sparc actually working) useful bits of my contributions? :(