From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11243 invoked by alias); 12 Aug 2004 12:16: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 11130 invoked from network); 12 Aug 2004 12:16:05 -0000 Received: from unknown (HELO blount.mail.mindspring.net) (207.69.200.226) by sourceware.org with SMTP; 12 Aug 2004 12:16:05 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BvEV2-0005t5-00; Thu, 12 Aug 2004 08:16:04 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 356894B102; Thu, 12 Aug 2004 08:16:05 -0400 (EDT) Date: Thu, 12 Aug 2004 12:16:00 -0000 From: Michael Chastain To: gdb@sources.redhat.com, allenh@eecs.berkeley.edu Subject: Re: Can't set bkpt at throw statement Message-ID: <411B5F84.nailNOP219DTW@mindspring.com> References: <411AC515.4080002@eecs.berkeley.edu> In-Reply-To: <411AC515.4080002@eecs.berkeley.edu> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00198.txt.bz2 Your program works fine for me on: native i686-pc-linux-gnu red hat 8.0 gcc 3.3.4 binutils 2.15 gdb 6.2 I also tested with gcc 3.4.1 and gcc 3.5.0 20040811 (experimental). All worked fine. However I see the bad breakpoint on Fred.cpp:12 with native i686-pc-linux-gnu red hat 8.0 gcc 3.2-7-rh binutils 2.13.90.0.2-2-rh gdb 6.2 (gdb) break Ethel.cpp:12 Breakpoint 1 at 0x80488b5: file Ethel.cpp, line 12. (gdb) break Fred.cpp:12 Note: breakpoint -1 (disabled) also set at pc 0x0. Breakpoint 2 at 0x0: file Fred.cpp, line 12. Can you report: output of "gdb --version" output of "gcc -v" (or if the C++ compiler is not gcc, the equivalent) your os name and version number I think you will have to install a newer gcc. It's not hard, if you use the "--prefix" option to build gcc. Michael C