Using gdb with MacOS X

Find out how to get that @*&^$&@ thing to compile!

Using gdb with MacOS X

Postby substrate » Thu Mar 27, 2003 11:46 pm

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)
substrate
 
Posts: 1
Joined: Thu Mar 27, 2003 8:00 pm
Location: Eau Claire, WI

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron