Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Rick Richardson <rickr@mn.rr.com>
Cc: GDB Mailing List <gdb@sources.redhat.com>
Subject: Re: gdb retargetting
Date: Wed, 14 Aug 2002 09:11:00 -0000	[thread overview]
Message-ID: <20020814161159.GA4596@nevyn.them.org> (raw)
In-Reply-To: <20020814110514.A28654@mn.rr.com>

On Wed, Aug 14, 2002 at 11:05:14AM -0500, Rick Richardson wrote:
> 
> Maybe someone can help me, maybe not.  Here's the deal:
>   
> 1) I retargetted binutils to support a new processor.  I started with
>    binutils-2.12.1 from the GNU ftp site.  That work is complete.
>   
> 2) I grabbed gdb-5.2.1 and merged the gdb directories with my now-modified
>    binutils tree.  This meant I just copied the gdb, malloc, readline, sim,
>    and utils directories from the gdb tree to the combined tree.
>   
> 3) As a check that everything is buildable in the combined tree, I
>    configured for i386 (default) on linux, and did a "make".  I wanted
>    to make sure that I started from a buildable tree before I hack on
>    the gdb and sim directories to support the new processor.
>   
> 4) Everything built fine until it got to gdb/gdbserver.  It exploded
>    compiling utils.c:
>   
>         In file included from utils.c:22:
>         server.h:37:25: gdb/signals.h: No such file or directory
>   
> 5) No question, there is no gdb/signals.h included in the gdb-5.2.1.tar.gz
>    file that I got from ftp.gnu.org.  Nor is there one in gdb-5.2.tar.gz.
> 
> What gives?  I'm beginning to suspect that nobody compiles the
> snapshots on the GNU ftp site.  Should I have started from some other
> snapshots?  I'm completely learing of basing off of "the tip" of the
> CVS tree, as I have no idea when that is stable.  So I thought basing
> off of the GNU snapshots would be the way to go.

The file is there.  It's in gdb-5.2/include/gdb/signals.h in this
snapshot.  The include directory is shared between the two projects;
different directories are included in different releases, and if you're
going to try to combine two releases other than the two current trunk
snapshots, you're on your own to do the merging.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-08-14 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-14  9:05 Rick Richardson
2002-08-14  9:11 ` Daniel Jacobowitz [this message]
2002-08-14  9:27   ` Rick Richardson
2002-08-17 22:54 ` Andrew Cagney

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=20020814161159.GA4596@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=rickr@mn.rr.com \
    /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