From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Keith Seitz Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: [RFC] sigsetjmp/siglongjmp on cygwin Date: Mon, 13 Aug 2001 15:52:00 -0000 Message-id: <3B785A0C.7000104@cygnus.com> References: X-SW-Source: 2001-08/msg00151.html > 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. What about: (gdb) maint internal-error /home/scratch/GDB/src/gdb/maint.c:119: gdb-internal-error: internal maintenance An internal GDB error was detected. This may make further debugging unreliable. Continue this debugging session? (y or n) y Create a core file containing the current state of GDB? (y or n) n (gdb) Andrew