status of Darwin support

Paul Pluzhnikov ppluzhnikov@google.com
Tue Aug 11 16:48:00 GMT 2009


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



More information about the Gdb mailing list