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
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.
GDB is not actively maintained on Mac OS. Your best bet is to open a bug in GDB bugzilla .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.