Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tristan Gingold <gingold@adacore.com>
To: hefeweizen <horacio.sanchez@kit.edu>
Cc: gdb@sourceware.org
Subject: Re: gdb can not debug “hello world” in mac os x
Date: Tue, 08 Mar 2011 16:02:00 -0000	[thread overview]
Message-ID: <207F8856-D3F0-4D15-A1AE-BF0C06D9A074@adacore.com> (raw)
In-Reply-To: <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.


  reply	other threads:[~2011-03-08 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 15:54 hefeweizen
2011-03-08 16:02 ` Tristan Gingold [this message]
2011-03-08 16:12   ` hefeweizen
2011-03-08 16:23     ` André Pönitz
2011-05-08  8:52 ` Paul Pluzhnikov
     [not found] <1299599657.19674.ezmlm@sourceware.org>
2011-03-08 16:29 ` Peter Watkins
2011-03-08 16:46   ` hefeweizen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=207F8856-D3F0-4D15-A1AE-BF0C06D9A074@adacore.com \
    --to=gingold@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=horacio.sanchez@kit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox