Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No TUI support for gdb on Mac?

Tags:

macos

gdb

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?

like image 405
Che Kofif Avatar asked Jul 07 '11 14:07

Che Kofif


1 Answers

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.

like image 76
osgx Avatar answered Oct 18 '22 03:10

osgx