Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install GDBserver in OSX

I can use brew to install GBD or download and compile GDB from source but either way GDBserver does not get installed. How can I get GDBserver running in OSX?

Cheers

like image 488
user1618465 Avatar asked Nov 08 '22 13:11

user1618465


1 Answers

From what I can tell this is not currently possible. I built the gdb project version 8.0.1 from source on macos (High Sierra) and gdbserver was not built.

The gdbserver-related output from ./configure ended with this line: "Error: target not supported by gdbserver."

version 8.0.1 of gdb works fine on my macos*, just not gdbserver.

(*) after codesigning the binary and running this:

$ echo "set startup-with-shell off” >> ~/.gdbinit
like image 91
Kevin Olree Avatar answered Nov 15 '22 06:11

Kevin Olree