This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 142456 - Regression: toolcahin is wrong on Solaris (no remote setup)
Summary: Regression: toolcahin is wrong on Solaris (no remote setup)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 18:45 UTC by Thomas Preisler
Modified: 2008-08-02 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-07-31 18:45:50 UTC
Note: this is without remote setup and working locally.

The tool chain is wrong for Sun Studio compilers on Solaris (and probably also Linux). The debugger is set to
/opt/SUNWspro/bin/dbx which is wrong. GDB-lite module doesn't work with dbx. Debugger should always be gdb
(/usr/sfw/bin/gdb).

Debugging is doa for SS compilers.
Comment 1 Thomas Preisler 2008-07-31 18:47:47 UTC
(
Comment 2 _ gordonp 2008-08-01 01:57:14 UTC
The toolchain personality module for sunstudio (cnd/.../resources/toolchain/SunStudio.xml)
defines both dbx and gdb as legal debuggers. It should only define gdb (dbx was never part
of a toolchain pre-personality module).

It would be nice if there were an API to allow the actual Sun Studio release to change this,
but dbxgui works fine without dbx being part of the toolchain so even that isn't critical.
Comment 3 Alexey Vladykin 2008-08-01 09:44:40 UTC
Fixed in http://hg.netbeans.org/main/rev/4028502c3333
Removed dbx from SunStudio.xml.
Comment 4 Quality Engineering 2008-08-02 16:08:02 UTC
Integrated into 'main-golden', available in build *200808021401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/4028502c3333
User: Alexey Vladykin <alexey_vladykin@netbeans.org>
Log: Fixed IZ#142456: Regression: toolcahin is wrong on Solaris (no remote setup)