This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb can not debug “hello world” in ma c os x


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]