Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: fix --enable-targets=all build
Date: Mon, 07 Apr 2008 02:33:00 -0000	[thread overview]
Message-ID: <200804070105.32067.pedro@codesourcery.com> (raw)

[-- 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"
 

             reply	other threads:[~2008-04-07  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07  2:33 Pedro Alves [this message]
2008-04-07 11:14 ` Daniel Jacobowitz
2008-04-07 12:08   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804070105.32067.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox