This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: status of Darwin support
Paul Pluzhnikov wrote:
>> (gdb) r
>> Starting program:
>> /Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/gamma
>
> I assume these are from debug prints of (section addr? or endaddr?) you've
> added? They look like possibly non-relocated section addresses.
Yes, the same values as the assert compares.
> Could you run gdb under /usr/bin/gdb, like this:
>
> /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)
again. I just tried to run it as root, then it runs but the break does
not work. I'm confused...
-- Christian