delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/19/22:17:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200007200217.WAA08558@qnx.com>
Subject: GDB can't be interrupted! Please help.
To: cygwin AT sources DOT redhat DOT com
Date: Wed, 19 Jul 2000 22:16:56 -0400 (EDT)
From: "Max Feil" <mfeil AT qnx DOT com>
X-Mailer: ELM [version 2.5 PL0b1]
MIME-Version: 1.0

I have tried everything I can think of to solve my GDB problems.
I am running mostly on WinNT where GDB works fairly well. 
However I want to get my software working on Win98 as well,
but gdb does not seem to act properly there.

I need to know how to interrupt the child process and stop the
debugger when running in non-window mode. In window mode, I type
a ctl-C in the program output window. In non-window mode there is
no separate window for program output, and typing control C just
ends the program ("Program exited with code ..."). This problem
also happens on WinNT, but at least I can work around this
by setting a breakpoint on my own signal handler function.

On Win98 in non-window GDB this does not work. Instead of handling my signal,
I get "Program exited with code 037777777777." I cannot get
window mode (Insight) working properly at all under Win98. 

Is there something I am missing? A gdb setting? CYGWIN environment
variable?

My version of Cygwin is from a CD dated 1999/09/14. This CD contains
gdb 4.18, but I have also tried gdb 5.0 with no improvement.

Any help would be appreciated. You guys must be debugging without
window mode sometimes, and one of the most basic things a debugger
should do is allow you to interrupt and get a traceback in an
endless loop. I cannot get the non-window debugger to do this
on Win98 or WinNT, and my signal handler workaround does not
work on Win98!

Cheers,
Max
-- 
Max Feil                          |  Email: mfeil AT qnx DOT com
QNX Software Systems Ltd.         |  Web: http://www.qnx.com/~mfeil
Kanata, Ontario, Canada.          |  Work Phone: (613) 591-0836 x226
"The leading realtime OS for PC's"|         Fax: (613) 591-0592


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019