From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4393 invoked by alias); 7 Apr 2008 00:06:01 -0000 Received: (qmail 4381 invoked by uid 22791); 7 Apr 2008 00:06:00 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Apr 2008 00:05:35 +0000 Received: (qmail 24596 invoked from network); 7 Apr 2008 00:05:33 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Apr 2008 00:05:33 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: fix --enable-targets=all build Date: Mon, 07 Apr 2008 02:33:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_MVW+H5U7k5xAmfN" Message-Id: <200804070105.32067.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00123.txt.bz2 --Boundary-00=_MVW+H5U7k5xAmfN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 118 Without this I can't build --enable-targets=all due to target_read_memory calls in those files. OK? -- Pedro Alves --Boundary-00=_MVW+H5U7k5xAmfN Content-Type: text/x-diff; charset="utf-8"; name="fix_enable_targets_all.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_enable_targets_all.diff" Content-length: 2356 2008-04-07 Pedro Alves * 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" --Boundary-00=_MVW+H5U7k5xAmfN--