Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Using gdb with MacOS X

UBBFriend: Email this page to someone!    
Author Topic: Using gdb with MacOS X
substrate
Junior Member
Member # 621

posted March 27, 2003 03:46 PM      Profile for substrate     Send New Private Message      Edit/Delete Post  Reply With Quote 
This isn't really a compile problem per se. I've been working on porting Berkeley's spice3f5 software to MacOS X. It now compiles, but it also stops with a bus error.

In the past I've used gdb to help me debug stuff and it's been very helpful. How do I enable gdb to trace through code and display which line of source code it's aborting at?

Normally in other unix I'd pass the -g option, but it doesn't see the source code (or it's been so long since I've used it that I've forgotten some important step)


Posts: 1 | From: Eau Claire, WI | Registered: Mar 2003  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2