[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using "-O1 -g" to debug optimisation bugs in Mingw.

From: Ben Pfaff
Subject: Re: Using "-O1 -g" to debug optimisation bugs in Mingw.
Date: Tue, 03 Apr 2007 21:28:37 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> On Tue, Apr 03, 2007 at 09:10:45PM -0700, Ben Pfaff wrote:
>      > This diff:
>      >  adds an assert that may or may not trap so windows related bug.
>      This looks OK to me.  jmd: OK with you?
> No problems.
>      >  makes "make check" a bit less picky about whitespace
>      Ditto.
> No problems.

I committed these.

>      >  stops pspp from trapping segfaults, which can be annoying when 
> debugging.
>      Hmm.  I've also in practice occasionally found this to be
>      annoying when I debug.  Maybe --enable-debug should disable
>      these?
> Currently, --enable-debug causes the program to fork and connect gdb
> to the program.  This can be very useful at times, but just annoying
> at other times, depending on what you're trying to do?

Perhaps there should be an environment variable or a command-line
option?  Or perhaps we should decide to use core dumps or the new
2.6.recent Linux kernel feature of piping a core dump to an
arbitrary process (e.g. gdb) on a crash?
Ben Pfaff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]