About GDB debuger
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > About GDB debuger




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    About GDB debuger  
¤£À´unixªººôºÞ


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-04 12:33 AM

Where can get the GDB debug? And how to install GDB debuger in the Solaris.
Thanks.







[ Post a follow-up to this message ]



    Re: About GDB debuger  
Victor Wagner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-18-04 12:33 AM

"¤£À´unixªººôºÞ" <lfb@vlsi.el.cycu.edu.tw> wrote:
: Where can get the GDB debug? And how to install GDB debuger in the Solaris
.
: Thanks.

There are two ways to do it:

1. Get ready-to-use package for your version of Solaris from
www.sunfreeware.com.

Download gdb-<version>-sol<os-version>-<arch>-local.gz

gunzip it and run pkgadd -d gdb-<version>-sol<os-version>-<arch>-local

2. Get the latest version of source distribution from
http://www.gnu.org/directory/devel/debug/gdb.html

compile and install as described in the INSTALL file in the source
archive.

Note, that if you want to debug 64-bit sparcv9 executables, you need
to build GDB from sources and configure it special way. Pretend that
you are  cross-compiling on 32-bit sparc for 64-bit sparc target.

Typically, gdb doesn't need any files besides gdb executable itself.
So I have two gdb executables - one from sunfreware package and other
I compiled myself for 64-bit target, and installed as
/usr/local/bin/gdb64


--





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:58 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register