Re: gdb can not debug “hello world” in mac os x
Tristan Gingold
gingold@adacore.com
Tue Mar 8 16:02:00 GMT 2011
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.
More information about the Gdb
mailing list