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

On Sat, Jan 12, 2008 at 01:56:39PM -0600, Vadtec wrote:
> 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.

Pretty much all of this is covered in the GDB manual.  If you run GDB
on the FreeBSD system its startup message will probably tell you what
target to use.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-01-12 20:16 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
2008-01-12 20:16     ` Daniel Jacobowitz [this message]
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=20080112201556.GA29871@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=vadtec@vadtec.net \
    /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