Solved

gdb and gcc for solaris

Posted on 2000-04-13
2
701 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
modThree challenge 4 79
ShiftLeft challenge 21 76
Fibonacci challenge 11 110
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 73
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

920 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

16 Experts available now in Live!

Get 1:1 Help Now