Re: [RFA] mipsnbsd-tdep.c: include "mips-tdep.h"

Nathan J. Williams
2004-03-21T22:34:24Z

Andrew Cagney <cagney@gnu.org> writes:

> > 2004-03-19 Nathan J. Williams <nathanw@wasabisystems.com>
> > * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
>
> Fixing a build problem, "obvious", but you do need to also tweak the
> makefile.

Ah, if I missed something, it's not quite obvious, then. :)

Committed as seen here.

- Nathan

2004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>

* mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
* Makefile.in (mipsnbsd-tdep.o): Update dependencies.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.525
diff -u -r1.525 Makefile.in
--- Makefile.in 18 Mar 2004 16:21:59 -0000 1.525
+++ Makefile.in 21 Mar 2004 22:24:06 -0000
@@ -2055,7 +2055,7 @@
$(mipsnbsd_tdep_h)
mipsnbsd-tdep.o: mipsnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
$(target_h) $(value_h) $(osabi_h) $(nbsd_tdep_h) $(mipsnbsd_tdep_h) \
- $(solib_svr4_h)
+ $(mips_tdep_h) $(solib_svr4_h)
mipsread.o: mipsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
$(objfiles_h) $(buildsym_h) $(stabsread_h) $(coff_sym_h) \
$(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) $(libecoff_h) \
Index: mipsnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mipsnbsd-tdep.c,v
retrieving revision 1.8
diff -u -r1.8 mipsnbsd-tdep.c
--- mipsnbsd-tdep.c 16 Nov 2003 19:24:05 -0000 1.8
+++ mipsnbsd-tdep.c 21 Mar 2004 22:24:06 -0000
@@ -1,5 +1,5 @@
/* Target-dependent code for MIPS systems running NetBSD.
- Copyright 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
Contributed by Wasabi Systems, Inc.

This file is part of GDB.
@@ -28,6 +28,7 @@

#include "nbsd-tdep.h"
#include "mipsnbsd-tdep.h"
+#include "mips-tdep.h"

#include "solib-svr4.h"