This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb OS ABI support
On Sat, Jan 12, 2008 at 02:23:28PM -0600, Vadtec wrote:
>>> Ok, I am new to this. what do I provide to --target? --target=FreeBSD
>>> ? And what libraries will i need to copy from the fBSD system? What
>>> is the purpose of set sysroot in this case? Where do I use it? Inside
>>> gdb? On the shell?
--target=i386-freebsd should work, but you might need to add an X.Y
version to the end of it.
You will need the binary and the system libraries, because otherwise GDB won't be
able to find symbols. They have to match exactly. And please search
the GDB manual for "set sysroot", and ask a specific question if that
is not clear.
--
Daniel Jacobowitz
CodeSourcery