From: Keith Seitz <keiths@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Jim Blandy <jimb@cygnus.com>, <gdb-patches@sources.redhat.com>
Subject: Re: [RFC] sigsetjmp/siglongjmp on cygwin
Date: Mon, 13 Aug 2001 15:43:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0108131540260.22492-100000@makita.cygnus.com> (raw)
In-Reply-To: <3B7856B7.1000108@cygnus.com>
On Mon, 13 Aug 2001, Andrew Cagney wrote:
> > Would love to do this, but, unfortunately, writing a simple test to do
> > this is not so easy. The problem is that sigsetjmp/siglongjmp are, for
> > lack of a better phrase, "flakey". Ever simple testcase I come up with
> > works just fine, but I can get gdb to crash instantly...
>
>
> Yes, I think that is what every one is stumped on. Making it more
> difficult, a compile time rather than a runtime test is probably needed
> - otherwize it won't be possible to canadian cross GDB.
>
> Perhaphs the real problem is GDB corrupting its stack? Can you explain
> the test case or is it just ``normal use''?
It's easy to reproduce once you have gdb built with sigsetjmp/siglongjmp.
Just boot Win98 and run gdb. Do something, ANYTHING to call
return_to_top_level. I did "info func" on gdb. When the pager was done
outputting the first page of functions, I asked it to "quit" instead of
continuing the listing. Boom! It died immediately.
Of course, the bigger problem for me is that Insight causes gdb to call
return_to_top_level all the darn time, so Insight crashes immediately. :-(
Keith
next prev parent reply other threads:[~2001-08-13 15:43 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-01 14:01 Keith Seitz
[not found] ` <s3iae1jjso2.fsf@soliton.wins.uva.nl>
2001-08-01 16:03 ` Keith Seitz
2001-08-01 23:57 ` Eli Zaretskii
2001-08-02 10:25 ` Andrew Cagney
2001-08-02 13:15 ` Mark Kettenis
2001-08-13 14:46 ` Jim Blandy
2001-08-13 15:12 ` Keith Seitz
2001-08-13 15:37 ` Andrew Cagney
2001-08-13 15:43 ` Keith Seitz [this message]
2001-08-13 15:52 ` Andrew Cagney
2001-08-13 16:27 ` Keith Seitz
2001-08-13 16:32 ` Christopher Faylor
[not found] ` <20010813222037.A20589@redhat.com>
2001-08-13 19:40 ` [RFC] sigsetjmp/siglongjmp on cygwin -- problem tracked down Andrew Cagney
2001-08-13 19:55 ` Christopher Faylor
2001-08-13 20:10 ` Daniel Jacobowitz
2001-08-13 20:18 ` [RFA] work around sigsetjmp/siglongjmp macro problems Christopher Faylor
2001-08-14 0:06 ` Eli Zaretskii
2001-08-14 7:40 ` Christopher Faylor
2001-08-14 9:34 ` Keith Seitz
2001-08-14 13:01 ` Elena Zannoni
2001-08-14 13:08 ` Christopher Faylor
2001-08-14 23:52 ` Eli Zaretskii
2001-08-14 23:49 ` Eli Zaretskii
2001-08-13 17:11 ` [RFC] sigsetjmp/siglongjmp on cygwin Andrew Cagney
2001-08-13 17:23 ` Keith Seitz
2001-08-03 1:33 ` Eli Zaretskii
2001-08-10 0:16 ` Andrew Cagney
2001-08-01 16:16 ` Andrew Cagney
2001-08-02 13:51 ` Christopher Faylor
2001-08-10 0:27 ` Andrew Cagney
2001-08-12 15:49 ` Ben Elliston
2001-08-13 2:03 ` Eli Zaretskii
2001-08-13 15:42 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.33.0108131540260.22492-100000@makita.cygnus.com \
--to=keiths@cygnus.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox