Mail Archives: cygwin/2004/10/18/09:13:45
--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine DOT GSO DOT 4 DOT 61 DOT 0410180908442 DOT 24285 AT slinky DOT cs DOT nyu DOT edu>
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/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,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
--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: APPLICATION/OCTET-STREAM; TYPE=patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 61 DOT 0410180908443 DOT 24285 AT slinky DOT cs DOT nyu DOT edu>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME="segv.diff"
T25seSBpbiBnZGItNi4yLjFfOiBidWlsZApkaWZmIC1ydSBnZGItNi4yLjEv
Z2RiL2luZnJ1bi5jIGdkYi02LjIuMV8vZ2RiL2luZnJ1bi5jCi0tLSBnZGIt
Ni4yLjEvZ2RiL2luZnJ1bi5jCTIwMDQtMDctMTcgMDQ6NDI6NTcuMDAwMDAw
MDAwICswOTAwCisrKyBnZGItNi4yLjFfL2dkYi9pbmZydW4uYwkyMDA0LTA5
LTIyIDA0OjA0OjU5LjI4ODE1MzcwMCArMDkwMApAQCAtMTk0NCw2ICsxOTQ0
LDE2IEBACiAgICAgewogICAgICAgLyogU2lnbmFsIG5vdCBmb3IgZGVidWdn
aW5nIHB1cnBvc2VzLiAgKi8KICAgICAgIGludCBwcmludGVkID0gMDsKKyAg
ICAgIGNoYXIqIGZ1bmNfbmFtZTsKKworICAgICAgZmluZF9wY19wYXJ0aWFs
X2Z1bmN0aW9uIChzdG9wX3BjLCAmZnVuY19uYW1lLCAoQ09SRV9BRERSICop
IE5VTEwsCisJCQkJKENPUkVfQUREUiAqKSBOVUxMKTsKKworICAgICAgaWYo
c3RyY21wKGZ1bmNfbmFtZSwgIktFUk5FTDMyIUlzQmFkV3JpdGVQdHIiKSA9
PSAwKQorCXsKKwkgIGtlZXBfZ29pbmcgKGVjcyk7CisJICByZXR1cm47CisJ
fQogCiAgICAgICBzdG9wcGVkX2J5X3JhbmRvbV9zaWduYWwgPSAxOwogCk9u
bHkgaW4gZ2RiLTYuMi4xXy9nZGI6IGluZnJ1bi5jfgo=
--Multipart_Mon_Oct_18_19:32:58_2004-1
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--Multipart_Mon_Oct_18_19:32:58_2004-1--
- Raw text -