pro64-support
[Top] [All Lists]

Re: Debugging the compiler with gdb

To: Steven Tjiang <tjiang@xxxxxxxxxxxxx>
Subject: Re: Debugging the compiler with gdb
From: Ding-Kai Chen <dkchen@xxxxxxxxxxxxx>
Date: Wed, 31 May 2000 11:28:01 -0700
Cc: pro64-support@xxxxxxxxxxx
References: <01c801bfcb29$42ee14a0$750aa8c0@xxxxxxxxxxxxxxxx>
Sender: owner-pro64-support@xxxxxxxxxxx
Steven Tjiang wrote:

> I am having problems debugging the be phase with
> gdb.
>
> I compiled the compiler with debugging on.
> This really bloats up the binaries but the real
> problem is that if you use gdb-4.18 on be,
> gdb grows to 460 megabytes and then segfaults.
> Here is the sequence I went through:
>
> gdb be
> b be_debug
> run .... <lots of args>
> b Lnoptimizer
> c
> p debug()
>
> Gdb crashes leaving a very large core file.
> This is on an RH6.1 ia32 system.
>
> Anybody experienced this, or have a workaround?

I have used my gdb successfully a few times. Try ~dkchen/bin/gdb and see
if it works better.

Ding-Kai



<Prev in Thread] Current Thread [Next in Thread>