From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5144 invoked by alias); 5 Aug 2008 16:58:40 -0000 Received: (qmail 5128 invoked by uid 22791); 5 Aug 2008 16:58:38 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO SUKNPT8102.cogent-dsn.com) (80.156.46.154) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 05 Aug 2008 16:57:43 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: GDB on Solaris 10 Date: Tue, 05 Aug 2008 16:58:00 -0000 Message-ID: <67068ED71049F24386084A94AD75497105E64087@suknpt8102.cogent-dsn.local> From: "Gareth Williams" To: 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: 2008-08/txt/msg00074.txt.bz2 Does anyone have GDB working on Solaris 10? =20 I have installed GDB 6.6 from http://www.sunfreeware.com. This works for 'hello world' but not for the multi-threaded application I need to debug. The problem is essentially that described in problem report 2481: http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&databas e=3Dgdb&pr=3D2481=20 We also have compiled GDB 6.8 from source - and this does not work even for 'hello world'. bash-3.00$ gdb ./hello GNU gdb 6.8 ... This GDB was configured as "sparc-sun-solaris2.10"... (gdb) break main Breakpoint 1 at 0x10c60: file hello.cc, line 6. (gdb) r Starting program: /home/williamsg/hello=20 procfs: init_inferior, get_traced_signals line 4891, /proc/18409: Error 0. (gdb) where procfs: fetch_registers, get_gregs line 3768, /proc/18409: Error 0. procfs: fetch_registers, get_gregs line 3768, /proc/18409: Error 0. (gdb) So: does anyone have any version of GDB working on Solaris 10, for threaded applications? If so a hint would be nice :-) If not, is anyone interested in getting it working? I may be able to spend a few days on this. Some pointers in the right direction would really help. cheers Gareth Williams