From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29526 invoked by alias); 5 Nov 2008 05:19:53 -0000 Received: (qmail 29450 invoked by uid 22791); 5 Nov 2008 05:19:53 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Nov 2008 05:19:16 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 11C8C4A004; Tue, 4 Nov 2008 21:19:15 -0800 (PST) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost3.vmware.com (Postfix) with ESMTP id 05420C9A1D; Tue, 4 Nov 2008 21:19:15 -0800 (PST) Message-ID: <49112B26.1090109@vmware.com> Date: Wed, 05 Nov 2008 05:19:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: "raja.saleru@iap-online.com" CC: "gdb@sourceware.org" Subject: Re: command Ctrll-C References: <33036.210.143.35.19.1225860009.squirrel@www.iap-online.com> In-Reply-To: <33036.210.143.35.19.1225860009.squirrel@www.iap-online.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00032.txt.bz2 raja.saleru@iap-online.com wrote: > Hi, > > During program execution thought GDB, the execution can be stopped by > command Ctrll-C > > How it works internally in GDB source? Which function will be called after > user enters the command Ctrl-C ? > > Thanks in Advance > Raja Saleru Have a look at "handle_sigint" and "async_request_quit" in gdb/event-top.c.