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
|