www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 17 Mar 2006 06:56:55 -0500 |
From: | Bob Rossi <bob_rossi AT cox DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: GDB Interrupts on Cygwin |
Message-ID: | <20060317115655.GH30980@brasko.net> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <2284342f0603170055i5268807bn83042ea5988aa46 AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <2284342f0603170055i5268807bn83042ea5988aa46@mail.gmail.com> |
User-Agent: | Mutt/1.5.9i |
X-IsSubscribed: | yes |
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 Fri, Mar 17, 2006 at 03:55:08AM -0500, Doug Bohl wrote: > When running a Windows application from GDB, GDB gives control to the > application at a certain point. It would be nice to, at an arbitrary > time, suspend the application and give control back to GDB. I know > that I can set breakpoints, but sometimes I don't know exactly when I > want to break until after I'm running the application. Ctrl-C > supposedly sends the SIGINT signal to GDB, breaking the running > application and restoring control to GDB. However, this does not > appear to work, at least not on Cygwin. Even though this may seem strange, try this. Before starting GDB, type 'tty' at the console. Then, after you start GDB, run the command 'tty outputofttycommandfromconsole'. I think this will enable the ^c. It's a bug in GDB that hopefully I'll get to look at one day. Bob Rossi -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |