Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vadtec <vadtec@vadtec.net>
To: gdb@sourceware.org
Subject: Re: gdb OS ABI support
Date: Sat, 12 Jan 2008 19:57:00 -0000	[thread overview]
Message-ID: <47891B77.7040905@vadtec.net> (raw)
In-Reply-To: <20080112194332.GA28094@caradoc.them.org>

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


  reply	other threads:[~2008-01-12 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12 18:49 Vadtec
2008-01-12 19:43 ` Daniel Jacobowitz
2008-01-12 19:57   ` Vadtec [this message]
2008-01-12 20:16     ` Daniel Jacobowitz
2008-01-12 20:23       ` Vadtec
2008-01-12 20:42         ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47891B77.7040905@vadtec.net \
    --to=vadtec@vadtec.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox