This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix Darwin breakage
Paul Pluzhnikov wrote:
> On Tue, Aug 18, 2009 at 4:52 AM, Christian
> Thalinger<Christian.Thalinger@sun.com> wrote:
>
>> I tried that patch and it kind of works. But running a program takes
>> ages (about 5-10 minutes), with GDB using 100% CPU time.
>
> Could you attach another instance of GDB to the one that consumes 100%
> CPU and see where the CPU-bound GDB is? (Or use dtrace to get ustack
> histogram :-)
Yeah, I should do that.
>
>> The backtrace looks fine, but arguments and local variables are not
>> visible. Loaded shared libraries look OK:
>
> Steps to reproduce?
> Could you make a tar of /Users/twisti/bsd-port/hotspot/build/ available?
The problem is the size of the stuff you need:
$ du -sc build/bsd/bsd_i486_compiler2/ build/bsd/jdk-bsd-i586/
562996 build/bsd/bsd_i486_compiler2/
745016 build/bsd/jdk-bsd-i586/
1308012 total
I should try something smaller...
-- Christian