Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: "William A. Gatliff" <bgat@billgatliff.com>
Cc: "Keith.Walker" <Keith.Walker@arm.com>,
	crossgcc@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: Patch for arm-linux gdbserver
Date: Thu, 31 Jan 2002 15:10:00 -0000	[thread overview]
Message-ID: <20020131181024.A4883@nevyn.them.org> (raw)
In-Reply-To: <20020131153627.A3137@saturn.billgatliff.com>

On Thu, Jan 31, 2002 at 03:36:27PM -0600, William A. Gatliff wrote:
> Keith:
> 
> 
> [root@venus gdbserver]# make
> arm-linux-gcc -c -g    -I/home/bgat/Intrinsyc/include -I. -I.. -I../../gdb/gdbserver -I../../gdb/gdbserver/.. -I../../gdb/gdbserver/../config -I../../gdb/gdbserver/../../include -I../../bfd -I../../gdb/gdbserver/../../bfd -DGDBSERVER ../../gdb/gdbserver/low-linux.c
> ../../gdb/gdbserver/low-linux.c:42: sys/reg.h: No such file or directory
> make: *** [low-linux.o] Error 1
> 
> [root@venus gdbserver]# find ~/Intrinsyc/ -name reg.h
> /root/Intrinsyc/arm-linux/sys-include/asm-mips/reg.h
> /root/Intrinsyc/arm-linux/sys-include/asm-alpha/reg.h
> /root/Intrinsyc/arm-linux/sys-include/asm-sparc/reg.h
> /root/Intrinsyc/arm-linux/sys-include/asm-sparc64/reg.h
> /root/Intrinsyc/arm-linux/sys-include/asm-mips64/reg.h
> 
> 
> I'm using a prebuilt toolchain from Intrinsyc.  I'm thinking there's
> something wrong about it, but I can't quite put my finger on it...
> 
> Where is your reg.h?
> 
> What versions of arm-linux tools are you using?  I may just have to
> start from scratch here...

ARM should not have sys/reg.h.  That means you mis-ran configure.

You can't build gdbserver inside a cross-gdb tree.  It has to be a
_target_ _native_ gdb tree (i.e. --host).

I don't think ARM gdbserver builds at the moment, though.  If it does
I'll be pleasantly surprised.

What Keith said about configury won't work.  However, you don't need to
run make in the gdb dir, just configure.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-01-31 23:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31  9:36 William A. Gatliff
     [not found] ` <4.1.20020131181535.00b40f00@mhsun1.maidenhead.arm.com>
2002-01-31 13:36   ` William A. Gatliff
2002-01-31 15:10     ` Daniel Jacobowitz [this message]
2002-01-31 15:21       ` Peter Barada
2002-02-01  7:36         ` Daniel Jacobowitz
2002-02-01 10:34           ` Peter Barada
2002-02-01 11:03             ` William A. Gatliff
2002-02-01 11:30             ` Daniel Jacobowitz
2002-02-01 12:02               ` William A. Gatliff

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=20020131181024.A4883@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=Keith.Walker@arm.com \
    --cc=bgat@billgatliff.com \
    --cc=crossgcc@sources.redhat.com \
    --cc=gdb@sources.redhat.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