jkp
jkp

Reputation: 81268

Is it possible to remotely debug linux code from a non-linux system?

I know it is possible to remotely debug code using gdb's server mode and I know it is possible to debug code that has been cross-compiled for another architecture, but is it possible to go a step further and remotely debug Linux applications from OS X using gdbserver?

Upvotes: 1

Views: 515

Answers (2)

SF.
SF.

Reputation: 14029

It is possible from Windows with Cygwin. I don't know about OS X.

Upvotes: 0

JesperE
JesperE

Reputation: 64394

Certainly, but you need a cross-compiled GDB, compiled for OSX-host and Linux-target. This is not at all uncommon; there should be plenty of GDB documentation to cover this.

Upvotes: 1

Related Questions