13

I'm trying to use TUI mode in gdb on my Mac and for some reason it doesn't recognize the "-tui" flag.

I am about to install the latest version but as I can't find any mention of TUI not working in older versions, I was swondering if perhaps I'm doing it wrong.

How can I use TUI on my Mac?

1
  • Did you ever try the version of GDB provided by macports?
    – ipatch
    Jan 26, 2013 at 22:23

1 Answer 1

14

GDB can be built without tui, and this may be the case. Compile gdb for yourself, and enable TUI in configure.

Or, compile a cgdb, which is very like TUI.

How to install cgdb http://lists.apple.com/archives/Xcode-users/2009/Jul/msg00194.html Also this letter says:

but the Apple gdb is built with this feature /TUI/ disabled.

1
  • 3
    Nice! And if you are using Homebrew, it has a recipe for installing cgdb -- just do brew install cgdb Sep 5, 2012 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.