From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10816 invoked by alias); 19 May 2005 11:46:18 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 10054 invoked from network); 19 May 2005 11:45:43 -0000 Received: from unknown (HELO psmtp.com) (64.18.1.123) by sourceware.org with SMTP; 19 May 2005 11:45:43 -0000 Received: from source ([192.150.11.134]) by exprod6ob3.obsmtp.com ([64.18.5.12]) with SMTP; Thu, 19 May 2005 04:45:43 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id j4JBdSBM027323 for ; Thu, 19 May 2005 04:39:28 -0700 (PDT) Received: from iplan-mn (iplan-mn.corp.adobe.com [10.32.16.20]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id j4JBjgn2026246 for ; Thu, 19 May 2005 04:45:42 -0700 (PDT) Received: from iplan-mn (localhost [127.0.0.1]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IGQ00B0KJC5TP@iplan-mn.corp.adobe.com> for gcc-help@gcc.gnu.org; Thu, 19 May 2005 06:45:41 -0500 (CDT) Received: from mn-eljay-a51m.adobe.com (mn-dhcp-17-28.corp.adobe.com [10.32.17.28]) by iplan-mn.corp.adobe.com (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IGQ00BW4JC5AP@iplan-mn.corp.adobe.com> for gcc-help@gcc.gnu.org; Thu, 19 May 2005 06:45:41 -0500 (CDT) Date: Thu, 19 May 2005 11:46:00 -0000 From: Eljay Love-Jensen Subject: Re: some gdb problem. In-reply-to: <33696.159.226.40.187.1116494899.squirrel@webmail.ict.ac.cn> To: zouq , gcc-help@gcc.gnu.org Message-id: <6.2.1.2.2.20050519064130.0218c5b8@iplan-mn.corp.adobe.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <33696.159.226.40.187.1116494899.squirrel@webmail.ict.ac.cn> X-SW-Source: 2005-05/txt/msg00257.txt.bz2 Hi zouq, >who can tell me the reason? Do this command: gdb --version If it doesn't say 6.3, then go here, download, compile, and use gdb-6.3: http://directory.fsf.org/GNU/gdb.html If it does say 6.3, then I'm not sure. Are you compiling using "-g", "-g3", "-ggdb", "-ggdb3", or something else? Check out "man gcc", and go to the "Options for Debugging Your Program or GCC" section. HTH, --Eljay