This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Add ser-tcp.o to all NetBSD host Makefile fragments
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: thorpej at wasabisystems dot com
- Cc: gdb-patches at sourceware dot cygnus dot com
- Date: Fri, 04 Jan 2002 17:50:31 -0500
- Subject: Re: [patch] Add ser-tcp.o to all NetBSD host Makefile fragments
- References: <20020104141453.E9599@dr-evil.shagadelic.org>
Dig dig. Hmm, have a look at what configure.in does with SER_HARDWIRE.
Looks like the file needing a fix is config/arm/nbsd.mh.
As a rule of thumb, a host specific file should set off an alarm bell -
host specific stuff is (in theory ...) all handled by autoconf.
enjoy,
Andrew
PS: Why delete the comment.
> Index: config/i386/nbsd.mh
> ===================================================================
> RCS file: /cvs/src/src/gdb/config/i386/nbsd.mh,v
> retrieving revision 1.10
> diff -c -r1.10 nbsd.mh
> *** nbsd.mh 2001/10/02 23:11:21 1.10
> --- nbsd.mh 2002/01/04 21:56:51
> ***************
> *** 1,13 ****
> # Host: Intel 386 running NetBSD
> ! XDEPFILES=
> !
> ! # NATDEPFILES must remain entirely on one line for *BSD. When
> ! # building a cross debugger, configure will cause this line to be
> ! # commented out in the Makefile. BSD make doesn't permit the use of a
> ! # continuation character (backslash) to extend a commented line. As a
> ! # consequence, BSD make considers subsequent tab-indented lines to be
> ! # "unassociated shell commands".
> NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-sunos.o
> -
> XM_FILE= xm-nbsd.h
> NAT_FILE= nm-nbsd.h
> --- 1,5 ----
> # Host: Intel 386 running NetBSD
> ! XDEPFILES= ser-tcp.o
> NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-sunos.o
> XM_FILE= xm-nbsd.h
> NAT_FILE= nm-nbsd.h
>