This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb can not debug “hello world” in ma c os x
- From: Tristan Gingold <gingold at adacore dot com>
- To: hefeweizen <horacio dot sanchez at kit dot edu>
- Cc: gdb at sourceware dot org
- Date: Tue, 8 Mar 2011 17:02:29 +0100
- Subject: Re: gdb can not debug “hello world” in ma c os x
- References: <31098392.post@talk.nabble.com>
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.