From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22771 invoked by alias); 8 Mar 2011 16:02:41 -0000 Received: (qmail 22761 invoked by uid 22791); 8 Mar 2011 16:02:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Mar 2011 16:02:35 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 0881BCB0262; Tue, 8 Mar 2011 17:02:33 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FKP2CYbMtWRm; Tue, 8 Mar 2011 17:02:30 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 0C21DCB0296; Tue, 8 Mar 2011 17:02:29 +0100 (CET) Subject: =?windows-1252?Q?Re=3A_gdb_can_not_debug_=93hello_world=94_in_ma?= =?windows-1252?Q?c_os_x?= Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <31098392.post@talk.nabble.com> Date: Tue, 08 Mar 2011 16:02:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <207F8856-D3F0-4D15-A1AE-BF0C06D9A074@adacore.com> References: <31098392.post@talk.nabble.com> To: hefeweizen 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/msg00051.txt.bz2 On Mar 8, 2011, at 4:54 PM, hefeweizen wrote: >=20 > Hi, I have the following smal C++ program [...] > What is the problem ???? I honestly do not understand why this does not w= ork > in mac os x. This could be investigated. I never tried to debug C++ applications with f= sf gdb. Also, you could try with a more recent version of gdb (7.2) >=20 > Maybe the problem is the gdb version used in mac or the gcc version in ma= c. > Which other alternatives exist for gdb in mac? You can use the gdb provided by Apple. Tristan.