This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add ser-tcp.o to all NetBSD host Makefile fragments


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
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]