Build Your Own GDB on Mac OS X

The GDB coming with XCode 4.5.1 on Mac OS X is an old version (6.3.50).  It is too old that cannot be used to debug Go programs or to work with Emacs 24.  Fortunately, the solution is easy – to build a newer version, say, 7.5 – and every thing would be fine.  To use GDB 7.5 with Emacs 24, do not forget to use the –i=mi parameter:

~/usr/bin/gdb -i=mi hello_world

4 Responses to “Build Your Own GDB on Mac OS X”

  1. Best online backup services Says:

    Hey there! This post could not be written any better!
    Reading through this post reminds me of my previous room mate!
    He always kept talking about this. I will forward
    this page to him. Pretty sure he will have a good read.
    Thank you for sharing!

  2. How to survive a food shortage Says:

    When someone writes an paragraph he/she retains the plan
    of a user in his/her mind that how a user can be aware of it.

    Therefore that’s why this article is great. Thanks!

  3. what foods are safe for dogs to eat Says:

    Much less, it does not have any authority to require pre-testing of products before they are sold or to re-call products proven as
    unsafe. Clear commands and consistency are essential when you work together with your dog.
    If your dog ate a large amount of chocolate you should
    either take them to the veterinarian right away, or call the ASPCA Poison Control Center to
    get help.

  4. Darnell Says:

    Hello would you mind letting me know which web host you’re utilizing?
    I’ve loaded your blog in 3 different browsers and
    I must say this blog loads a lot faster then most.
    Can you recommend a good internet hosting provider at a reasonable price?

    Many thanks, I appreciate it!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 38 other followers

%d bloggers like this: