This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: status of Darwin support
On Tue, Aug 11, 2009 at 9:42 AM, Christian
Thalinger<Christian.Thalinger@sun.com> wrote:
>> /usr/bin/gdb --args ./gdb -nx
>> /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma
>> (top-gdb) break error
>> (top-gdb) run
>> (gdb) run
>
> I tried that before, but then I get the:
>
> Unable to find Mach task port for process-id 90603: (os/kern) failure (0x5).
> (please check gdb is setgid procmod)
Ah, that makes sense: the inferior GDB can't be suid.
> again. ?I just tried to run it as root, then it runs but the break does
> not work. ?I'm confused...
But (eventually) you should get to SIGABRT, which is just as good a place
to execute prints. Do you?
Thanks,
--
Paul Pluzhnikov