Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] mipsnbsd-tdep.c: include "mips-tdep.h"
@ 2004-03-19 22:36 Nathan J. Williams
  2004-03-21 22:19 ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan J. Williams @ 2004-03-19 22:36 UTC (permalink / raw)
  To: gdb-patches


Make this file (and a netbsd-mips targeted GDB) build again; it needs
mips-tdep.h to get a prototype for mips_regsize(), introduced in rev
1.7, 2003-11-15.

OK to commit?

        - Nathan

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

	* mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.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	19 Mar 2004 22:32:00 -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"
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] mipsnbsd-tdep.c: include "mips-tdep.h"
  2004-03-19 22:36 [RFA] mipsnbsd-tdep.c: include "mips-tdep.h" Nathan J. Williams
@ 2004-03-21 22:19 ` Andrew Cagney
  2004-03-21 22:34   ` Nathan J. Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2004-03-21 22:19 UTC (permalink / raw)
  To: Nathan J. Williams; +Cc: gdb-patches

> 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.

Andrew


> 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	19 Mar 2004 22:32:00 -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"



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] mipsnbsd-tdep.c: include "mips-tdep.h"
  2004-03-21 22:19 ` Andrew Cagney
@ 2004-03-21 22:34   ` Nathan J. Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan J. Williams @ 2004-03-21 22:34 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

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"
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-21 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 22:36 [RFA] mipsnbsd-tdep.c: include "mips-tdep.h" Nathan J. Williams
2004-03-21 22:19 ` Andrew Cagney
2004-03-21 22:34   ` Nathan J. Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox