I am trying to install GDB to work with LiteIDE, on Mavericks.
After some research, I found out that GDB does not come with Xcode anymore, and that you have to install it yourself. Short of actually installing GDB from source, and self code signing (id rather not do this), I would like to use MacPorts to get this done.
I did port install gdb
, which ran and succeeded as far as I know. After the install, I closed terminal and then typed gdb
and I get -bash: gdb: command not found
Does anyone have a solution for this, using MacPorts???
You should use the command "ggdb" to start the MacPorts' build of gdb.
I don't know why they have renamed it, probably a transient bug/change that will be fixed somehow, I suspect they wanted to avoid a collision with the alias "gdb" launching LLDB.
Edit: Reworded the answer to avoid ambiguities as reported by @trojanfoe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With