niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » HP-UX
No line numbers when debugging using gcc and gdb
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Eric Gouriou
*nix forums beginner


Joined: 08 Sep 2005
Posts: 8

PostPosted: Sat Jul 15, 2006 11:51 pm    Post subject: Re: No line numbers when debugging using gcc and gdb Reply with quote

Eric Gouriou wrote:
Quote:
Try -g, instead of -ggdb. Let us know (and maybe the mailing list
hpux-devtools@cup.hp.com) if it helps.

I meant <mailto:hpux-devtools@cxx.cup.hp.com> but forgot the cxx

Eric
Back to top
Eric Gouriou
*nix forums beginner


Joined: 08 Sep 2005
Posts: 8

PostPosted: Sat Jul 15, 2006 11:50 pm    Post subject: Re: No line numbers when debugging using gcc and gdb Reply with quote

programmer wrote:
Quote:
I compiled a small test program on my hpux B.11 system with gcc 4.0.2 and
gdb 5.2 with
gcc -ggdb -o t t.c
When I go into gdb there is no line number information. This works fine on
my solaris 5.10 system.

Any ideas why I do not get line number information on my hpux system?

Try -g, instead of -ggdb. Let us know (and maybe the mailing list
hpux-devtools@cup.hp.com) if it helps.

The current gdb release from HP is 5.4 (<http://www.hp.com/go/gdb>).

Eric
Back to top
programmer
*nix forums beginner


Joined: 22 Jun 2006
Posts: 4

PostPosted: Sat Jul 15, 2006 9:28 pm    Post subject: No line numbers when debugging using gcc and gdb Reply with quote

I compiled a small test program on my hpux B.11 system with gcc 4.0.2 and
gdb 5.2 with
gcc -ggdb -o t t.c
When I go into gdb there is no line number information. This works fine on
my solaris 5.10 system.

Any ideas why I do not get line number information on my hpux system?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 1:40 pm | All times are GMT
navigation Forum index » *nix » HP-UX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts number of words in a line Fred J. C++ 3 Fri Jul 21, 2006 3:52 am
No new posts Connection refused at /usr/lib/perl5/vendor_perl/5.8.6/Ma... DragonsLord Mandrake 0 Thu Jul 20, 2006 12:44 pm
No new posts entires each on separate line kevin_m shell 2 Wed Jul 19, 2006 10:51 pm
No new posts Questions about "Line too long" Jonas Meurer Exim 9 Wed Jul 19, 2006 5:29 pm
No new posts Bug#378859: ITP: pypar2 -- graphical frontend for the par... Piotr Ozarowski devel 1 Wed Jul 19, 2006 12:00 pm

Agencia de turismo | Credit Cards UK | Mortgage Calculator | Loans | Hypotonic Cerebral Palsy
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2669s ][ Queries: 20 (0.1363s) ][ GZIP on - Debug on ]