From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28703 invoked by alias); 8 Mar 2011 16:12:23 -0000 Received: (qmail 28603 invoked by uid 22791); 8 Mar 2011 16:12:21 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Mar 2011 16:12:15 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PwzW9-0004RQ-Sz for gdb@sourceware.org; Tue, 08 Mar 2011 08:12:13 -0800 Message-ID: <31098601.post@talk.nabble.com> Date: Tue, 08 Mar 2011 16:12:00 -0000 From: hefeweizen To: gdb@sourceware.org Subject: =?UTF-8?Q?Re:_gdb_can_not_debug_=E2=80=9Chello_world=E2=80=9D_in_mac_os_x?= In-Reply-To: <207F8856-D3F0-4D15-A1AE-BF0C06D9A074@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <31098392.post@talk.nabble.com> <207F8856-D3F0-4D15-A1AE-BF0C06D9A074@adacore.com> 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: 2011-03/txt/msg00052.txt.bz2 the main problem is the following; gdb provided by apple does not produce this problem. But I want to use Eclipse CDT Helios in Mac. When Eclipse calls Apple gdb (6.3) there is a lot of problems for debugging. With gdb 7.1 or 7.2 I only get this mentioned problem. Tristan Gingold-2 wrote: > > > On Mar 8, 2011, at 4:54 PM, hefeweizen wrote: > >> >> Hi, I have the following smal C++ program > > [...] > >> What is the problem ???? I honestly do not understand why this does not >> work >> in mac os x. > > This could be investigated. I never tried to debug C++ applications with > fsf gdb. > Also, you could try with a more recent version of gdb (7.2) > >> >> Maybe the problem is the gdb version used in mac or the gcc version in >> mac. >> Which other alternatives exist for gdb in mac? > > You can use the gdb provided by Apple. > > Tristan. > > > -- View this message in context: http://old.nabble.com/gdb-can-not-debug-%E2%80%9Chello-world%E2%80%9D-in-mac-os-x-tp31098392p31098601.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.