Solved

gdb and gcc for solaris

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

734 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