Opt
Opt

Reputation: 4804

gdb 7 segfaulting

I installed gdb 7.2 via macports on osx 10.6. However when I run it, I get

unable to read unknown load command 0x1a
Segmentation fault

I also tried compiling it manually but I still get the same error.

Any help would be greatly appreciated,
Thanks,
--Sid

Upvotes: 0

Views: 279

Answers (2)

Marco
Marco

Reputation: 11

Try these:

sudo chgrp procmod /opt/local/bin/fsf-gdb

sudo chmod g+s /opt/local/bin/fsf-gdb

Of course change "/opt/local/bin/" to reflect your path to gbd and change "fsf-gdb" to the name of the compiled gdb. I assumed "standard" path and name given by macports.

Upvotes: 1

Employed Russian
Employed Russian

Reputation: 213955

GDB is not actively maintained on Mac OS. Your best bet is to open a bug in GDB bugzilla.

Upvotes: 0

Related Questions