From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13608 invoked by alias); 25 Sep 2007 16:54:38 -0000 Received: (qmail 13600 invoked by uid 22791); 25 Sep 2007 16:54:37 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Sep 2007 16:54:36 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DC37C982AD; Tue, 25 Sep 2007 16:54:34 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AA56D980BD; Tue, 25 Sep 2007 16:54:34 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IaDg9-0003rK-Ia; Tue, 25 Sep 2007 12:54:33 -0400 Date: Tue, 25 Sep 2007 17:22:00 -0000 From: Daniel Jacobowitz To: The Westlakers Cc: gdb@sourceware.org Subject: Re: question about GDB message Message-ID: <20070925165433.GA14534@caradoc.them.org> Mail-Followup-To: The Westlakers , gdb@sourceware.org References: <20070925110500.GA29300@caradoc.them.org> <6b14b5b00709250441v6e04f36bm1553dc901ecb6e17@mail.gmail.com> <20070925114838.GA31304@caradoc.them.org> <6b14b5b00709250527u3df06e1cped38587bf2edd8d@mail.gmail.com> <20070925123516.GA1733@caradoc.them.org> <6b14b5b00709250857n5e89f833i5058e77cb7cb1534@mail.gmail.com> <20070925160337.GA12085@caradoc.them.org> <6b14b5b00709250930g568baad1n3b1a132fb7936c8@mail.gmail.com> <20070925163802.GA13747@caradoc.them.org> <6b14b5b00709250945q1d25559ey245da834be0650c2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b14b5b00709250945q1d25559ey245da834be0650c2@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00209.txt.bz2 On Tue, Sep 25, 2007 at 09:45:28AM -0700, The Westlakers wrote: > > Looking at the source code, it looks to me like there is no support > > for 64-bit bare ELF binaries on SPARC; only Linux / Solaris / BSD > > binaries. > any idea how much work to be done to support it? I may be able to do it > along with my current GDB support for Ultra Sparc N1 and N2. It should not be a lot of work; it's a little tricky to do it without breaking other configurations though. Take a look at sparc64_init_abi and its current callers. Something as simple as this might work, but no promises: gdbarch_register_osabi (bfd_arch_sparc, bfd_mach_sparc_v9, GDB_OSABI_UNKNOWN, sparc64_init_abi); -- Daniel Jacobowitz CodeSourcery