From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5751 invoked by alias); 28 Jan 2003 15:35:16 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5743 invoked from network); 28 Jan 2003 15:35:15 -0000 Received: from unknown (HELO karman.lufmech.rwth-aachen.de) (134.130.177.1) by 172.16.49.205 with SMTP; 28 Jan 2003 15:35:15 -0000 Received: from web.de (tresca.lufmech.RWTH-Aachen.DE [134.130.177.109]) by karman.lufmech.rwth-aachen.de with ESMTP (8.9.3 (PHNE_18979)/8.7.1) id QAA18558 for ; Tue, 28 Jan 2003 16:35:15 +0100 (MET) Message-ID: <3E36A332.9648D75E@web.de> Date: Tue, 28 Jan 2003 15:35:00 -0000 From: Markus Werle X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: catch throw -how? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00460.txt.bz2 Hi! Using gdb-5.1.1 I wanted to use the "catch" feature for C++ exceptions like this # gdb ./myprogram GNU gdb 5.1.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) catch throw You can't do that without a process to debug. (gdb) 1. I do not understand the error message, please explain 2. Is this a bug resolved in gdb-5.3 or am I missing some information? best regards, Markus