From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28184 invoked by alias); 29 May 2003 13:15:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27964 invoked from network); 29 May 2003 13:15:47 -0000 Received: from unknown (HELO pc-jeroen) (62.21.239.205) by sources.redhat.com with SMTP; 29 May 2003 13:15:47 -0000 Received: from jeroen by pc-jeroen with local (Exim 3.35 #1 (Debian)) id 19LNFy-00009E-00; Thu, 29 May 2003 15:15:46 +0200 Date: Thu, 29 May 2003 13:15:00 -0000 To: gdb-patches@sources.redhat.com Subject: [PATCH] Fix GNU/Hurd build error Message-ID: <20030529131545.GA458@pc-jeroen> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i From: Jeroen Dekkers X-SW-Source: 2003-05/txt/msg00533.txt.bz2 This patch fixes two build errors on GNU/Hurd. The first error is that some header files aren't generated because the variables are not defined in the Makefile. Secondly gnu-nat.c uses obstacks but doesn't include the gdb_obstack.h file. 2003-05-29 Jeroen Dekkers * Makefile.in (exc_request_U_h): Define (exc_request_S_h): Likewise. (msg_reply_S_h): Likewise. (msg_U_h): Likewise. (notify_S_h): Likewise. (process_reply_S_h): Likewise. (gnu-nat.o): Depend on gdb_obstack_h * gnu-nat.c: Include "gdb_obstack.h". Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.383 diff -u -p -r1.383 Makefile.in --- Makefile.in 25 May 2003 18:50:54 -0000 1.383 +++ Makefile.in 29 May 2003 12:58:03 -0000 @@ -641,6 +641,8 @@ dwarf2loc_h = dwarf2loc.h environ_h = environ.h event_loop_h = event-loop.h event_top_h = event-top.h +exc_request_U_h = exc_request_U.h +exc_request_S_h = exc_request_S.h expression_h = expression.h $(symtab_h) $(doublest_h) f_lang_h = f-lang.h frame_h = frame.h @@ -690,7 +692,10 @@ minimon_h = minimon.h mips_tdep_h = mips-tdep.h mipsnbsd_tdep_h = mipsnbsd-tdep.h monitor_h = monitor.h +msg_reply_S_h = msg_reply_S.h +msg_U_h = msg_U.h nbsd_tdep_h = nbsd-tdep.h +notify_S_h = notify_S.h ns32k_tdep_h = ns32k-tdep.h objc_lang_h = objc-lang.h objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h) @@ -703,6 +708,7 @@ parser_defs_h = parser-defs.h $(doublest ppc_tdep_h = ppc-tdep.h ppcnbsd_tdep_h = ppcnbsd-tdep.h proc_utils_h = proc-utils.h +process_reply_S_h = process_reply_S.h regcache_h = regcache.h reggroups_h = reggroups.h remote_utils_h = remote-utils.h $(target_h) @@ -1747,7 +1753,7 @@ gnu-nat.o: gnu-nat.c $(gdb_string_h) $(d $(value_h) $(language_h) $(target_h) $(gdb_wait_h) $(gdbcmd_h) \ $(gdbcore_h) $(gdbthread_h) $(gdb_assert_h) $(gnu_nat_h) \ $(exc_request_S_h) $(notify_S_h) $(process_reply_S_h) \ - $(msg_reply_S_h) $(exc_request_U_h) $(msg_U_h) + $(msg_reply_S_h) $(exc_request_U_h) $(msg_U_h) $(gdb_obstack_h) gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(gdb_string_h) $(symtab_h) \ $(gdbtypes_h) $(value_h) $(demangle_h) $(cp_abi_h) gnu-v3-abi.o: gnu-v3-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(demangle_h) \ Index: gnu-nat.c =================================================================== RCS file: /cvs/src/src/gdb/gnu-nat.c,v retrieving revision 1.25 diff -u -p -r1.25 gnu-nat.c --- gnu-nat.c 12 Nov 2002 21:43:55 -0000 1.25 +++ gnu-nat.c 29 May 2003 12:58:04 -0000 @@ -62,6 +62,7 @@ #include "gdbcore.h" #include "gdbthread.h" #include "gdb_assert.h" +#include "gdb_obstack.h" #include "gnu-nat.h"