This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: status of Darwin support
Paul Pluzhnikov wrote:
> On Tue, Aug 11, 2009 at 9:49 AM, Christian
> Thalinger<Christian.Thalinger@sun.com> wrote:
>
>> I was able to attach to the process. Here is the data:
> ...
>> (gdb) p *sect2->objfile
>> $4 = {
>> name = 0x63e590 "/Users/twisti/bsd-port/hotspot/build/bsd/bsd_i486_compiler2/jvmg/launcher.o",
>
> This is possibly unrelocated objfile. What does
>
> print sect2->objfile->section_offsets[0]@17
>
> say?
(gdb) p sect2->objfile->section_offsets[0]@17
$5 = {{
offsets = {7106}
}, {
offsets = {0}
} <repeats 11 times>, {
offsets = {4294940264}
}, {
offsets = {4294944662}
}, {
offsets = {4294944325}
}, {
offsets = {0}
}, {
offsets = {0}
}}
-- Christian