From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10339 invoked by alias); 6 Apr 2010 22:07:57 -0000 Received: (qmail 9624 invoked by uid 22791); 6 Apr 2010 22:07:38 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog110.obsmtp.com (HELO eu1sys200aog110.obsmtp.com) (207.126.144.129) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Apr 2010 22:07:34 +0000 Received: from source ([167.4.1.35]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKS7uwovu92VhD5S8dOmu9pdhYjF7zHsD8@postini.com; Tue, 06 Apr 2010 22:07:33 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.80.115]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 342C85A for ; Tue, 6 Apr 2010 22:04:29 +0000 (GMT) Received: from mail2.crn.st.com (mail2.crn.st.com [167.4.2.66]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 2AB051BC for ; Tue, 6 Apr 2010 22:07:20 +0000 (GMT) Received: from [167.4.249.181] (ottl131.ott.st.com [167.4.249.181]) by mail2.crn.st.com (MOS 3.8.7a) with ESMTP id AHY62955 (AUTH "michel metzger"); Tue, 6 Apr 2010 17:07:19 -0500 (CDT) Message-ID: <4BBBB093.2050809@st.com> Date: Tue, 06 Apr 2010 22:07:00 -0000 From: Michel METZGER User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Batch mode and errors 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-04/txt/msg00024.txt.bz2 Hi, We are developing a set of extensions for GDB with python and I'm integrating this in our regression environment. I was wondering if it was possible to run gdb in batch mode and force it to execute the entire script I provide with --command even if it contains errors. I want to test the error handling of our new commands and it would be really helpful! Thanks, Michel Metzger.