gdb OS ABI support
Vadtec
vadtec@vadtec.net
Sat Jan 12 19:57:00 GMT 2008
Daniel Jacobowitz wrote:
> On Sat, Jan 12, 2008 at 12:49:04PM -0600, Vadtec wrote:
>
>> I am running on CentOS 5 (RHEL offshoot). I need to be able to back trace
>> cores from a FreeBSD box. How can I compile the FreeBSD ELF OS ABI into my
>> gdb so that I can do it on my CentOS box?
>>
>
> Use --target. You'll also need to copy libraries from the FreeBSD
> system and use "set sysroot".
>
>
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?
Thanks for the reply, I just need some more info to go on. I've never
tried a cross system core back trace, so this is all new to me.
Vadtec
More information about the Gdb
mailing list