delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/15/15:08:02

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: GDB Ctrl-C Interrupt Fails WORKAROUND
Date: Thu, 15 Jun 2006 20:07:46 +0100
Message-ID: <005f01c690ae$fc8fce70$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <F0D6ED48-4B3F-4011-8B43-D5163C6BFD69@qualcomm.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 15 June 2006 18:39, Kyle McKay wrote:

> On 15 Jun 2006 11:04:56 -0400, Christopher Faylor wrote:
>>> Lacking the ability to interrupt a running program severely limits
>>> gdb's usefulness.  Fortunately there's a workaround available.
>> 
>> Yep.  Use a console window.
> 
> Maybe I haven't been clear.  THIS DOES NOT WORK.
> 
> Compile the below hellowin.c program with the m$ visual C compiler.
> Start it up using gdb.  Run it, press CTRL-C, NOTHING HAPPENS.

  OTOH, Ctrl-Break 'works', but is not intercepted by GDB, which just reports
"Program exited normally".

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


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