From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27325 invoked by alias); 13 Feb 2002 21:40:43 -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 27205 invoked from network); 13 Feb 2002 21:40:39 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 13 Feb 2002 21:40:39 -0000 Received: from localhost.redhat.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA22527 for ; Wed, 13 Feb 2002 13:40:37 -0800 (PST) Received: by localhost.redhat.com (Postfix, from userid 469) id 4EFF910D95; Wed, 13 Feb 2002 16:40:25 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15466.56649.25315.617032@localhost.redhat.com> Date: Wed, 13 Feb 2002 13:40:00 -0000 To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] linux-proc.c: include regcache.h In-Reply-To: <15466.53414.797117.786817@localhost.redhat.com> References: <15466.53414.797117.786817@localhost.redhat.com> X-Mailer: VM 7.00 under Emacs 20.7.1 X-SW-Source: 2002-02/txt/msg00374.txt.bz2 Elena Zannoni writes: > > Compiling with ,-Werror I found this. > Committed as obvious. > > Elena > > > 2002-02-13 Elena Zannoni > > * linux-proc.c: Add include of regcache.h. > * Makefile.in (linux-proc.o): Add dependency on regcache.h. > > > > Index: linux-proc.c > =================================================================== > RCS file: /cvs/uberbaum/gdb/linux-proc.c,v > retrieving revision 1.5 > diff -u -r1.5 linux-proc.c > --- linux-proc.c 2002/01/15 20:10:55 1.5 > +++ linux-proc.c 2002/02/13 20:40:37 > @@ -24,6 +24,7 @@ > #include /* for elf_gregset etc. */ > #include /* for struct stat */ > #include /* for isdigit */ > +#include "regcache.h" /* for registers_changed */ > #include "gregset.h" /* for gregset */ > #include "gdbcore.h" /* for get_exec_file */ > #include "gdbthread.h" /* for struct thread_info etc. */ > > Index: Makefile.in > =================================================================== > RCS file: /cvs/uberbaum/gdb/Makefile.in,v > retrieving revision 1.156 > diff -u -r1.156 Makefile.in > --- Makefile.in 2002/02/09 18:45:06 1.156 > +++ Makefile.in 2002/02/13 20:42:21 > @@ -1331,7 +1331,7 @@ > $(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) > > linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \ > - $(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h > + $(gdbcore_h) $(gdbthread_h) $(regcache.h) $(BFD_SRC)/elf-bfd.h > > cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) There is a typo in the Makefile.in patch, but not in what I committed. I am a victim of too many sandboxes. Elena Index: Makefile.in =================================================================== RCS file: /cvs/uberbaum/gdb/Makefile.in,v retrieving revision 1.157 retrieving revision 1.158 diff -u -p -r1.157 -r1.158 --- Makefile.in 2002/02/12 13:36:03 1.157 +++ Makefile.in 2002/02/13 20:47:16 1.158 @@ -1333,7 +1333,7 @@ gcore.o: gcore.c $(defs_h) $(command_h) $(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \ - $(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h + $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(BFD_SRC)/elf-bfd.h cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)