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? Commented 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.

Sign up to request clarification or add additional context in comments.

1 Comment

Nice! And if you are using Homebrew, it has a recipe for installing cgdb -- just do brew install cgdb

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.