?
Solved

gdb and gcc for solaris

Posted on 2000-04-13
2
Medium Priority
?
721 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
dserna earned 150 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.

719 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