From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11600 invoked by alias); 10 Dec 2010 18:09:46 -0000 Received: (qmail 11587 invoked by uid 22791); 10 Dec 2010 18:09:45 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD 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.43rc1) with ESMTP; Fri, 10 Dec 2010 18:09:42 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 8D2005800C; Fri, 10 Dec 2010 10:09:39 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost4.vmware.com (Postfix) with ESMTP id 7AC56C9BAF; Fri, 10 Dec 2010 10:09:39 -0800 (PST) Message-ID: <4D026CE3.5060409@vmware.com> Date: Fri, 10 Dec 2010 18:09:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101103) MIME-Version: 1.0 To: Ilya Basin CC: "gdb@sourceware.org" Subject: Re: execute commands on signal and pass References: <4010085399.20101210151538@gmail.com> In-Reply-To: <4010085399.20101210151538@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2010-12/txt/msg00028.txt.bz2 Ilya Basin wrote: > I can tell gdb to execute some commands when breakpoint hit: > break [LOCATION] > commands > backtrace > continue > end > > Can I tell gdb to execute some commands on SIGSEGV and pass? No, but it's not a bad suggestion.