From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5458 invoked by alias); 16 Jun 2004 07:09:27 -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 5413 invoked from network); 16 Jun 2004 07:09:25 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.77.109) by sourceware.org with SMTP; 16 Jun 2004 07:09:25 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i5G79Jg7000276; Wed, 16 Jun 2004 09:09:19 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i5G79JLb000678; Wed, 16 Jun 2004 09:09:19 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i5G79Efn000675; Wed, 16 Jun 2004 09:09:14 +0200 (CEST) Date: Wed, 16 Jun 2004 07:09:00 -0000 Message-Id: <200406160709.i5G79Efn000675@elgar.kettenis.dyndns.org> From: Mark Kettenis To: m.mueller99@kay-mueller.de CC: gdb-patches@sources.redhat.com In-reply-to: <40CFE463.4010000@kay-mueller.de> (message from Michael Mueller on Wed, 16 Jun 2004 08:10:43 +0200) Subject: Re: gdb for Sun compiled target programs References: <40CFE463.4010000@kay-mueller.de> X-SW-Source: 2004-06/txt/msg00367.txt.bz2 Date: Wed, 16 Jun 2004 08:10:43 +0200 From: Michael Mueller I found that gdb 6.1 is almost unusable for Sun Solaris SPARC 32/64 bit if the target program is compiled using a Sun C compiler. ( gdb/1669: "64-bit Solaris does not work" is just one of the problems). It should be usable for 32-bit. 64-bit has a problem. The Sun C compiler generates stabs debugging info by default. GDB doesn't handle 64-bit stabs correctly. Fixing that is non-trivial. I believe recent versions of the Sun C compiler can also generate DWARF2. That should work better. Can someone tell me what the status and planned future of this platform is? (gdb/MAINTAINERS calls it "(devolved)") It's meant to be fully supported. I have put in some effort and fixed the most urgent problems so that it's usable for me now. My knowledge of gdb source code is quite limited however (just 2 weeks old) and some of the fixes definitely will need some more work, which I would be willing to do with some help. Does it make sense that I send my changes to gdb-patches? Sure. If it's a substantial contribution you'd need to assign copyright to the FSF.