🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46561

Debugging threads

#46561
From: 600187801610 - Jon Sipos
Date: Tue, 08 Nov 1994 20:32
20 lines
1561 bytes
Anybody have any experience building/debugging threaded applications using
gcc/g++/gdb on Solaris 2.X? Any info will be greatly appreciated regarding
getting started.

To get me started, I have built a small threaded program using gcc 2.6.0 and
Sun's thread library. It seems to run but I can't debug it (gdb 4.13). Gdb
doesn't seem to be aware of any thread other than the main thread (as shown
by the 'info thread' command).

Thanks for your help.

Jon

+--------------------------------+-----------------------------+
|         Jon C. Sipos           | jsipos@ascs.aro.allied.com  |
|         AlliedSignal           |                             |
| Government Electronics Systems |      FAX (410) 337-7485     |
|    1300 East Joppa Road        |                             |
| Baltimore, MD, USA  21286-5999 |     VOICE (410) 583-4112    |
+--------------------------------+-----------------------------+
Technical Details
Message-ID: <9411082031.AA17655@jupitr.ascs.aro.allied.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ascs.ARo.allied.COM!jsipos

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,cb6e14ea008babd2,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-08 12:32:49 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!news.dfn.de!swiss.ans.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!ascs.ARo.allied.COM!jsipos
From: jsipos@ascs.ARo.allied.COM (600187801610 - Jon Sipos)
Newsgroups: gnu.gcc.help
Subject: Debugging threads
Date: 8 Nov 1994 15:32:49 -0500
Organization: GNUs Not Usenet
Lines: 21
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9411082031.AA17655@jupitr.ascs.aro.allied.com>