public inbox for gdb@sourceware.org
 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:42:00 -0000	[thread overview]
Message-ID: <20080112204159.GA31406@caradoc.them.org> (raw)
In-Reply-To: <478921C0.1070607@vadtec.net>

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

      reply	other threads:[~2008-01-12 20:42 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
2008-01-12 20:23       ` Vadtec
2008-01-12 20:42         ` Daniel Jacobowitz [this message]

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=20080112204159.GA31406@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).