Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* fix --enable-targets=all build
@ 2008-04-07  2:33 Pedro Alves
  2008-04-07 11:14 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2008-04-07  2:33 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

Without this I can't build --enable-targets=all due to
target_read_memory calls in those files.

OK?

-- 
Pedro Alves

[-- Attachment #2: fix_enable_targets_all.diff --]
[-- Type: text/x-diff, Size: 2356 bytes --]

2008-04-07  Pedro Alves  <pedro@codesourcery.com>

	* alphanbsd-tdep.c: Include "target.h".
	* mn10300-tdep.c: Include "target.h".
	* Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update.

---
 gdb/Makefile.in      |    4 ++--
 gdb/alphanbsd-tdep.c |    1 +
 gdb/mn10300-tdep.c   |    1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

Index: src/gdb/Makefile.in
===================================================================
--- src.orig/gdb/Makefile.in	2008-04-05 16:17:42.000000000 +0100
+++ src/gdb/Makefile.in	2008-04-05 16:22:04.000000000 +0100
@@ -1836,7 +1836,7 @@ alpha-nat.o: alpha-nat.c $(defs_h) $(gdb
 alphanbsd-tdep.o: alphanbsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
 	$(regcache_h) $(regset_h) $(value_h) $(osabi_h) $(gdb_string_h) \
 	$(gdb_assert_h) $(alpha_tdep_h) $(alphabsd_tdep_h) $(nbsd_tdep_h) \
-	$(solib_svr4_h)
+	$(solib_svr4_h) $(target_h)
 alphaobsd-tdep.o: alphaobsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
 	$(osabi_h) $(obsd_tdep_h) $(alpha_tdep_h) $(alphabsd_tdep_h) \
 	$(solib_svr4_h)
@@ -2507,7 +2507,7 @@ mn10300-tdep.o: mn10300-tdep.c $(defs_h)
 	$(gdbtypes_h) $(regcache_h) $(gdb_string_h) $(gdb_assert_h) \
 	$(gdbcore_h) $(value_h) $(gdbtypes_h) \
 	$(frame_h) $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) \
-	$(symtab_h) $(dwarf2_frame_h) $(osabi_h) $(mn10300_tdep_h)
+	$(symtab_h) $(dwarf2_frame_h) $(osabi_h) $(target_h) $(mn10300_tdep_h)
 monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \
 	$(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) \
 	$(inferior_h) $(gdb_regex_h) $(srec_h) $(regcache_h)
Index: src/gdb/alphanbsd-tdep.c
===================================================================
--- src.orig/gdb/alphanbsd-tdep.c	2008-04-05 16:17:42.000000000 +0100
+++ src/gdb/alphanbsd-tdep.c	2008-04-05 16:22:04.000000000 +0100
@@ -35,6 +35,7 @@
 #include "alphabsd-tdep.h"
 #include "nbsd-tdep.h"
 #include "solib-svr4.h"
+#include "target.h"
 
 /* Core file support.  */
 
Index: src/gdb/mn10300-tdep.c
===================================================================
--- src.orig/gdb/mn10300-tdep.c	2008-04-05 16:17:42.000000000 +0100
+++ src/gdb/mn10300-tdep.c	2008-04-05 16:22:04.000000000 +0100
@@ -36,6 +36,7 @@
 #include "dwarf2-frame.h"
 #include "osabi.h"
 #include "infcall.h"
+#include "target.h"
 
 #include "mn10300-tdep.h"
 

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

* Re: fix --enable-targets=all build
  2008-04-07  2:33 fix --enable-targets=all build Pedro Alves
@ 2008-04-07 11:14 ` Daniel Jacobowitz
  2008-04-07 12:08   ` Pedro Alves
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-04-07 11:14 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb-patches

On Mon, Apr 07, 2008 at 01:05:31AM +0100, Pedro Alves wrote:
> Without this I can't build --enable-targets=all due to
> target_read_memory calls in those files.
> 
> OK?

OK.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: fix --enable-targets=all build
  2008-04-07 11:14 ` Daniel Jacobowitz
@ 2008-04-07 12:08   ` Pedro Alves
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro Alves @ 2008-04-07 12:08 UTC (permalink / raw)
  To: gdb-patches

Checked in.

-- 
Pedro Alves


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

end of thread, other threads:[~2008-04-07 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07  2:33 fix --enable-targets=all build Pedro Alves
2008-04-07 11:14 ` Daniel Jacobowitz
2008-04-07 12:08   ` Pedro Alves

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