On Mon, 18 Oct 2004, Øyvind Harboe wrote:

> Even with -multiwindows disabled, I get too many pointer check
> SEGFAULT's in GDB to do any debugging.
>
> Is this a bug in GDB or CygWin?
>
> (One can fuss over the definition of bug, but ...)

On Mon, 18 Oct 2004, Kensuke Matsuzaki wrote:

> -clipboard uses pthread, and that causes many many SEGV too.
> "(gdb) handle SIGSEGV nostop noprint"
> doesn't let gdb stop and print SEGV.
> But I'm using bit dirty workaround to ignore only IsBadWritePtr.
>
> [GDB patch attached]

Hmm, there's *got* to be a way to do the same using pure GDB macros,
without having to muck with the code...  Does anyone know enough about
macro writing in GDB to answer this off-hand?  Otherwise, I'll do some
digging...
        Igor
P.S. Cc'ing this to the main Cygwin list, as this is of interest to the
general community as well.
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

Attachment: segv.diff
Description: Binary data

Reply via email to