Arrg, the gdb Macsbug plugin seems to be broken on Leopard. First of all, the files in /usr/libexec/gdb/plugins/Macsbug were all setguid to procmod so I unset the bits and am now getting
NSCreateObjectFileImageFromFile failed for "/usr/libexec/gdb/plugins/MacsBug/gdbinit-MacsBug" (error 2).
More good stuff on using gdb.
Red Sweater Blog - Hexy Little Thing
Posted in Development
