Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Gareth Williams" <Gareth.Williams@eads.com>
To: <gdb@sourceware.org>
Subject: GDB on Solaris 10
Date: Tue, 05 Aug 2008 16:58:00 -0000	[thread overview]
Message-ID: <67068ED71049F24386084A94AD75497105E64087@suknpt8102.cogent-dsn.local> (raw)

Does anyone have GDB working on Solaris 10?
 
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=view%20audit-trail&databas
e=gdb&pr=2481 

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 
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



             reply	other threads:[~2008-08-05 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 16:58 Gareth Williams [this message]
2008-08-05 19:08 ` Joel Brobecker
2008-08-06 17:07   ` Gareth Williams
2008-08-07 10:39     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67068ED71049F24386084A94AD75497105E64087@suknpt8102.cogent-dsn.local \
    --to=gareth.williams@eads.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox