Solved

gdb and gcc for solaris

Posted on 2000-04-13
2
700 Views
Last Modified: 2013-12-26
What is the latest version of gdb and gcc for solaris operating
systems?

We have gdb version 4.16 and it has some limitations.
For eg. Iam not able to debug shared library intiitializers.
It gives the message:
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.

The version of gcc which we have is 2.8.1.

Where can I down load the latest versions from?

Advance thanks for the help.
0
Comment
Question by:meerak
2 Comments
 
LVL 1

Accepted Solution

by:
dserna earned 50 total points
ID: 2714536
You should be able to download the latest gdb and gcc from:

http://www.sunfreeware.com

They are in Solaris package format, so all you do is pkgadd -d <pkgname> as root and it will install all of the necessary files for you. They have them for Sparc or X86 2.5-Solaris8 versions.

The latest version of GDB is 4.18 and the latest version of gcc is 2.95.2

Or you could download them from:

ftp://ftp.gnu.org/pub/gnu/gcc
ftp://ftp.gnu.org/pub/gnu/gdb

Hope that helps.



0
 
LVL 1

Author Comment

by:meerak
ID: 2717281
Thanks a lot. But my problem does not go away.
The latest version  of gdb core dumps and the version which I
have been using does not allow me to debug initialization routines
of shared objects.
Do you have any idea? Iam posting another question. Please update it
if you have any ideas.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now