This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfa] [Fwd: [rfc] Re-merged regcache.h patch]


Approved

At 11:45 AM 2/28/01 -0500, Andrew Cagney wrote:
>FYI,
>
>I'm looking to check the attatched into GDB.  After the patch, the
>INSIGHT specific files:
>
> > generic/gdbtk-cmds.c
> > generic/gdbtk-hooks.c
>
>will also need to include "regcache.h".  Is a commit that updates these
>at the same time OK?
>
>         AndrewReturn-Path: <gdb-patches-owner@sources.redhat.com>
>Delivered-To: ac131313@localhost.cygnus.com
>Received: from localhost (localhost [127.0.0.1])
>         by localhost.cygnus.com (Postfix) with ESMTP id AE4628E3
>         for <ac131313@localhost>; Wed, 28 Feb 2001 10:09:56 -0500 (EST)
>Received: from mailhost.cygnus.com [205.180.230.5]
>         by localhost with IMAP (fetchmail-5.4.4)
>         for ac131313@localhost (single-drop); Wed, 28 Feb 2001 10:09:56 
> -0500 (EST)
>Received: from sourceware.cygnus.com (sourceware.cygnus.com [205.180.83.71])
>         by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with SMTP id HAA13896
>         for <ac131313@cygnus.com>; Wed, 28 Feb 2001 07:07:04 -0800 (PST)
>Received: (qmail 1886 invoked by alias); 28 Feb 2001 15:07:00 -0000
>Received: (qmail 1864 invoked from network); 28 Feb 2001 15:06:58 -0000
>Received: from runyon.cygnus.com (HELO cygnus.com) (205.180.230.5)
>   by sourceware.cygnus.com with SMTP; 28 Feb 2001 15:06:58 -0000
>Received: from localhost.cygnus.com (cse.cygnus.com [205.180.230.236])
>         by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id HAA13872
>         for <gdb-patches@sourceware.cygnus.com>; Wed, 28 Feb 2001 
> 07:06:56 -0800 (PST)
>Received: from cygnus.com (localhost [127.0.0.1])
>         by localhost.cygnus.com (Postfix) with ESMTP id DE50D8E3
>         for <gdb-patches@sourceware.cygnus.com>; Wed, 28 Feb 2001 
> 10:04:28 -0500 (EST)
>Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: 
><mailto:gdb-patches-unsubscribe-ac131313=cygnus.com@sources.redhat.com>
>List-Subscribe: <mailto:gdb-patches-subscribe@sources.redhat.com>
>List-Archive: <http://sources.redhat.com/ml/gdb-patches/>
>List-Post: <mailto:gdb-patches@sources.redhat.com>
>List-Help: <mailto:gdb-patches-help@sources.redhat.com>, 
><http://sources.redhat.com/ml/#faqs>
>Sender: gdb-patches-owner@sources.redhat.com
>Delivered-To: mailing list gdb-patches@sources.redhat.com
>Message-ID: <3A9D137C.BF7050EA@cygnus.com>
>Date: Wed, 28 Feb 2001 10:04:28 -0500
>From: Andrew Cagney <ac131313@cygnus.com>
>X-Mailer: Mozilla 4.76 [en] (X11; U; NetBSD 1.5.1_ALPHA i386)
>X-Accept-Language: en
>MIME-Version: 1.0
>To: GDB Patches <gdb-patches@sourceware.cygnus.com>
>Subject: [rfc] Re-merged regcache.h patch
>Content-Type: multipart/mixed;
>  boundary="------------611DDF16E3CC58F2DFA95889"
>X-Mozilla-Status2: 00000000
>
>Hello,
>
>Attatched is the re-merged but pruned regcache.h patch.  It has the
>following differences from the original:
>
>         o       the methods to do with manipulating
>                 a frame were moved to frame.[hc] in
>                 an earlier patch
>
>         o       The changes adding:
>+ #define REGISTER_CACHE_UNAVAILABLE (1)
>+ #define REGISTER_CACHE_VALID       (0)
>+ #define REGISTER_CACHE_INVALID     (-1)
>                 (or enum equivalents) were stripped out.
>                 These changes badly clashed with Davids
>                 proposed register_*() change so, I'll
>                 leave them for later.
>
>         o       I didn't touch the
>                         {read,write}_{sp,fp,pc}()
>                 declarations or definitions.  While
>                 I don't think they belong in
>                 regcache.[hc] (they are more like
>                 cooked functions) it isn't clear
>                 where they do belong.
>
>Build testing is continuing.
>
>         Andrew
>
>(click, click, yes it really is attatched :-)Tue Feb 27 23:56:23 
>2001  Andrew Cagney  <ac131313@redhat.com>
>
>         From Steven Johnson:
>         * regcache.h: New file.
>
>         * value.h (read_register_bytes, read_register_gen)
>         (write_register_gen, write_register_bytes)
>         (read_register, read_register_pid)
>         (read_signed_register, read_signed_register_pid)
>         (write_register, write_register_pid)
>         (register_cached, set_register_cached)
>         (register_changed, register_buffer)
>         (registers_changed, supply_register): Move declaration from here.
>         * regcache.h: To here.
>         * gdbcore.h (registers_fetched): Ditto.
>         * inferior.h (registers, registers_valid): Ditto.
>
>         * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
>         generic_target_write_pc, write_pc_pid, write_pc,
>         generic_target_read_sp, read_sp, generic_target_write_sp,
>         write_sp, generic_target_read_fp, read_fp,
>         generic_target_write_fp, write_fp): Add note that these functions
>         will be moved from this file.
>
>         * a29k-tdep.c: Include "regcache.h".
>         * a68v-nat.c: Ditto.
>         * abug-rom.c: Ditto.
>         * alpha-nat.c: Ditto.
>         * alpha-tdep.c: Ditto.
>         * alphabsd-nat.c: Ditto.
>         * arc-tdep.c: Ditto.
>         * arm-linux-nat.c: Ditto.
>         * arm-linux-tdep.c: Ditto.
>         * arm-tdep.c: Ditto.
>         * blockframe.c: Ditto.
>         * core-aout.c: Ditto.
>         * core-sol2.c: Ditto.
>         * corelow.c: Ditto.
>         * cpu32bug-rom.c: Ditto.
>         * cxux-nat.c: Ditto.
>         * d10v-tdep.c: Ditto.
>         * d30v-tdep.c: Ditto.
>         * dbug-rom.c: Ditto.
>         * dink32-rom.c: Ditto.
>         * dve3900-rom.c: Ditto.
>         * findvar.c: Ditto.
>         * fr30-tdep.c: Ditto.
>         * frame.c: Ditto.
>         * go32-nat.c: Ditto.
>         * h8300-tdep.c: Ditto.
>         * h8500-tdep.c: Ditto.
>         * hp300ux-nat.c: Ditto.
>         * hppa-tdep.c: Ditto.
>         * hppab-nat.c: Ditto.
>         * hppah-nat.c: Ditto.
>         * hppam3-nat.c: Ditto.
>         * hpux-thread.c: Ditto.
>         * i386-linux-nat.c: Ditto.
>         * i386-linux-tdep.c: Ditto.
>         * i386-tdep.c: Ditto.
>         * i386aix-nat.c: Ditto.
>         * i386b-nat.c: Ditto.
>         * i386bsd-nat.c: Ditto.
>         * i386gnu-nat.c: Ditto.
>         * i386ly-tdep.c: Ditto.
>         * i386m3-nat.c: Ditto.
>         * i386mach-nat.c: Ditto.
>         * i386nbsd-nat.c: Ditto.
>         * i386v4-nat.c: Ditto.
>         * i387-nat.c: Ditto.
>         * i387-tdep.c: Ditto.
>         * i960-tdep.c: Ditto.
>         * ia64-aix-nat.c: Ditto.
>         * ia64-linux-nat.c: Ditto.
>         * ia64-tdep.c: Ditto.
>         * infptrace.c: Ditto.
>         * infrun.c: Ditto.
>         * irix4-nat.c: Ditto.
>         * irix5-nat.c: Ditto.
>         * lin-lwp.c: Ditto.
>         * lin-thread.c: Ditto.
>         * lynx-nat.c: Ditto.
>         * m3-nat.c: Ditto.
>         * m32r-rom.c: Ditto.
>         * m32r-tdep.c: Ditto.
>         * m68hc11-tdep.c: Ditto.
>         * m68k-tdep.c: Ditto.
>         * m68klinux-nat.c: Ditto.
>         * m68knbsd-nat.c: Ditto.
>         * m68knbsd-tdep.c: Ditto.
>         * m88k-nat.c: Ditto.
>         * m88k-tdep.c: Ditto.
>         * mac-nat.c: Ditto.
>         * mcore-rom.c: Ditto.
>         * mcore-tdep.c: Ditto.
>         * mi/mi-main.c: Ditto.
>         * mips-nat.c: Ditto.
>         * mips-tdep.c: Ditto.
>         * mipsm3-nat.c: Ditto.
>         * mipsv4-nat.c: Ditto.
>         * mn10200-tdep.c: Ditto.
>         * mn10300-tdep.c: Ditto.
>         * monitor.c: Ditto.
>         * ns32km3-nat.c: Ditto.
>         * ns32knbsd-nat.c: Ditto.
>         * ocd.c: Ditto.
>         * pa64solib.c: Ditto.
>         * ppc-bdm.c: Ditto.
>         * ppc-linux-nat.c: Ditto.
>         * ppc-linux-tdep.c: Ditto.
>         * ppcbug-rom.c: Ditto.
>         * ppcnbsd-nat.c: Ditto.
>         * ptx4-nat.c: Ditto.
>         * regcache.c: Ditto.
>         * remote-adapt.c: Ditto.
>         * remote-array.c: Ditto.
>         * remote-bug.c: Ditto.
>         * remote-e7000.c: Ditto.
>         * remote-eb.c: Ditto.
>         * remote-es.c: Ditto.
>         * remote-est.c: Ditto.
>         * remote-hms.c: Ditto.
>         * remote-mips.c: Ditto.
>         * remote-mm.c: Ditto.
>         * remote-nindy.c: Ditto.
>         * remote-os9k.c: Ditto.
>         * remote-rdi.c: Ditto.
>         * remote-rdp.c: Ditto.
>         * remote-sds.c: Ditto.
>         * remote-sim.c: Ditto.
>         * remote-st.c: Ditto.
>         * remote-udi.c: Ditto.
>         * remote-utils.c: Ditto.
>         * remote-vx.c: Ditto.
>         * remote-vx29k.c: Ditto.
>         * remote-vx68.c: Ditto.
>         * remote-vx960.c: Ditto.
>         * remote-vxmips.c: Ditto.
>         * remote-vxsparc.c: Ditto.
>         * remote.c: Ditto.
>         * rom68k-rom.c: Ditto.
>         * rs6000-nat.c: Ditto.
>         * rs6000-tdep.c: Ditto.
>         * sh-tdep.c: Ditto.
>         * sh3-rom.c: Ditto.
>         * sol-thread.c: Ditto.
>         * solib-svr4.c: Ditto.
>         * somsolib.c: Ditto.
>         * sparc-nat.c: Ditto.
>         * sparc-tdep.c: Ditto.
>         * sparcl-tdep.c: Ditto.
>         * sparclet-rom.c: Ditto.
>         * sun3-nat.c: Ditto.
>         * sun386-nat.c: Ditto.
>         * symm-nat.c: Ditto.
>         * target.c: Ditto.
>         * thread-db.c: Ditto.
>         * thread.c: Ditto.
>         * tic80-tdep.c: Ditto.
>         * tracepoint.c: Ditto.
>         * ultra3-nat.c: Ditto.
>         * umax-xdep.c: Ditto.
>         * uw-thread.c: Ditto.
>         * v850-tdep.c: Ditto.
>         * v850ice.c: Ditto.
>         * valops.c: Ditto.
>         * w65-tdep.c: Ditto.
>         * w89k-rom.c: Ditto.
>         * win32-nat.c: Ditto.
>         * wince.c: Ditto.
>         * z8k-tdep.c: Ditto.
>
>Index: a29k-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/a29k-tdep.c,v
>retrieving revision 1.3
>diff -u -r1.3 a29k-tdep.c
>--- a29k-tdep.c 2001/02/08 06:03:52     1.3
>+++ a29k-tdep.c 2001/02/28 15:01:02
>@@ -27,6 +27,7 @@
>  #include "symtab.h"
>  #include "inferior.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  /* If all these bits in an instruction word are zero, it is a "tag word"
>     which precedes a function entry point and gives stack traceback info.
>Index: a68v-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/a68v-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 a68v-nat.c
>--- a68v-nat.c  2000/07/30 01:48:24     1.2
>+++ a68v-nat.c  2001/02/28 15:01:02
>@@ -1,5 +1,6 @@
>  /* Host-dependent code for Apollo-68ks for GDB, the GNU debugger.
>-   Copyright 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1991, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -20,6 +21,7 @@
>
>  #include "defs.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #ifndef _ISP__M68K
>  #define _ISP__M68K 1
>Index: abug-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/abug-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 abug-rom.c
>--- abug-rom.c  2000/07/30 01:48:24     1.3
>+++ abug-rom.c  2001/02/28 15:01:03
>@@ -1,5 +1,5 @@
>  /* Remote debugging interface for ABug Rom monitor for GDB, the GNU 
> debugger.
>-   Copyright 1995, 1996, 1998 Free Software Foundation, Inc.
>+   Copyright 1995, 1996, 1998, 2001 Free Software Foundation, Inc.
>
>     Written by Rob Savoye of Cygnus Support
>
>@@ -25,6 +25,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  /* Prototypes for local functions. */
>
>Index: alpha-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/alpha-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 alpha-nat.c
>--- alpha-nat.c 2000/12/07 10:50:50     1.5
>+++ alpha-nat.c 2001/02/28 15:01:03
>@@ -1,5 +1,6 @@
>  /* Low level Alpha interface, for GDB when running native.
>-   Copyright 1993, 1995, 1996, 1998 Free Software Foundation, Inc.
>+   Copyright 1993, 1995, 1996, 1998, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +23,7 @@
>  #include "inferior.h"
>  #include "gdbcore.h"
>  #include "target.h"
>+#include "regcache.h"
>  #include <sys/ptrace.h>
>  #ifdef __linux__
>  #include <asm/reg.h>
>Index: alpha-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/alpha-tdep.c,v
>retrieving revision 1.7
>diff -u -r1.7 alpha-tdep.c
>--- alpha-tdep.c        2000/12/15 01:01:45     1.7
>+++ alpha-tdep.c        2001/02/28 15:01:03
>@@ -1,5 +1,6 @@
>  /* Target-dependent code for the ALPHA architecture, for GDB, the GNU 
> Debugger.
>-   Copyright 1993, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
>+   Copyright 1993, 94, 95, 96, 97, 1998, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -30,6 +31,7 @@
>  #include "objfiles.h"
>  #include "gdb_string.h"
>  #include "linespec.h"
>+#include "regcache.h"
>
>  /* FIXME: Some of this code should perhaps be merged with mips-tdep.c.  */
>
>Index: alphabsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/alphabsd-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 alphabsd-nat.c
>--- alphabsd-nat.c      2001/01/03 21:12:17     1.3
>+++ alphabsd-nat.c      2001/02/28 15:01:03
>@@ -1,5 +1,5 @@
>  /* Native-dependent code for Alpha BSD's.
>-   Copyright (C) 2000 Free Software Foundation, Inc.
>+   Copyright 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -20,6 +20,7 @@
>
>  #include "defs.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/ptrace.h>
>Index: arc-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/arc-tdep.c,v
>retrieving revision 1.5
>diff -u -r1.5 arc-tdep.c
>--- arc-tdep.c  2001/01/31 01:24:00     1.5
>+++ arc-tdep.c  2001/02/28 15:01:03
>@@ -26,6 +26,7 @@
>  #include "floatformat.h"
>  #include "symtab.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  /* Local functions */
>
>Index: arm-linux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/arm-linux-nat.c,v
>retrieving revision 1.8
>diff -u -r1.8 arm-linux-nat.c
>--- arm-linux-nat.c     2001/02/06 19:59:05     1.8
>+++ arm-linux-nat.c     2001/02/28 15:01:04
>@@ -1,5 +1,5 @@
>  /* GNU/Linux on ARM native support.
>-   Copyright 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "inferior.h"
>  #include "gdbcore.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #include <sys/user.h>
>  #include <sys/ptrace.h>
>Index: arm-linux-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/arm-linux-tdep.c,v
>retrieving revision 1.7
>diff -u -r1.7 arm-linux-tdep.c
>--- arm-linux-tdep.c    2000/09/06 18:43:49     1.7
>+++ arm-linux-tdep.c    2001/02/28 15:01:05
>@@ -1,5 +1,5 @@
>  /* GNU/Linux on ARM target support.
>-   Copyright 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -25,6 +25,7 @@
>  #include "floatformat.h"
>  #include "gdbcore.h"
>  #include "frame.h"
>+#include "regcache.h"
>
>  /* For arm_linux_skip_solib_resolver.  */
>  #include "symtab.h"
>Index: arm-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/arm-tdep.c,v
>retrieving revision 1.10
>diff -u -r1.10 arm-tdep.c
>--- arm-tdep.c  2001/02/19 22:03:25     1.10
>+++ arm-tdep.c  2001/02/28 15:01:05
>@@ -1,6 +1,6 @@
>  /* Common target dependent code for GDB on ARM systems.
>-   Copyright 1988, 1989, 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999, 2000
>-   Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1993, 1995, 1996, 1997, 1998,
>+   1999, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -29,6 +29,7 @@
>  #include "coff/internal.h"     /* Internal format of COFF symbols in BFD */
>  #include "dis-asm.h"           /* For register flavors. */
>  #include <ctype.h>             /* for isupper () */
>+#include "regcache.h"
>
>  /* Each OS has a different mechanism for accessing the various
>     registers stored in the sigcontext structure.
>Index: blockframe.c
>===================================================================
>RCS file: /cvs/src/src/gdb/blockframe.c,v
>retrieving revision 1.11
>diff -u -r1.11 blockframe.c
>--- blockframe.c        2001/01/12 20:43:35     1.11
>+++ blockframe.c        2001/02/28 15:01:05
>@@ -1,7 +1,7 @@
>  /* Get info from stack frames;
>     convert between frames, blocks, functions and pc values.
>-   Copyright 1986, 87, 88, 89, 91, 94, 95, 96, 97, 1998
>-   Free Software Foundation, Inc.
>+   Copyright 1986, 87, 88, 89, 91, 94, 95, 96, 97, 1998, 2001 Free
>+   Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -31,6 +31,7 @@
>  #include "target.h"            /* for target_has_stack */
>  #include "inferior.h"          /* for read_pc */
>  #include "annotate.h"
>+#include "regcache.h"
>
>  /* Prototypes for exported functions. */
>
>Index: core-aout.c
>===================================================================
>RCS file: /cvs/src/src/gdb/core-aout.c,v
>retrieving revision 1.4
>diff -u -r1.4 core-aout.c
>--- core-aout.c 2000/07/30 01:48:24     1.4
>+++ core-aout.c 2001/02/28 15:01:06
>@@ -1,5 +1,5 @@
>  /* Extract registers from a "standard" core file, for GDB.
>-   Copyright (C) 1988-1998  Free Software Foundation, Inc.
>+   Copyright 1988-1998, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -38,6 +38,7 @@
>  #include "gdbcore.h"
>  #include "value.h"             /* For supply_register.  */
>  #include "inferior.h"          /* For ARCH_NUM_REGS. */
>+#include "regcache.h"
>
>  /* These are needed on various systems to expand REGISTER_U_ADDR.  */
>  #ifndef USG
>Index: core-sol2.c
>===================================================================
>RCS file: /cvs/src/src/gdb/core-sol2.c,v
>retrieving revision 1.6
>diff -u -r1.6 core-sol2.c
>--- core-sol2.c 2000/08/30 00:58:58     1.6
>+++ core-sol2.c 2001/02/28 15:01:06
>@@ -1,5 +1,5 @@
>  /* Machine independent support for Solaris 2 core files for GDB.
>-   Copyright 1994, 2000 Free Software Foundation, Inc.
>+   Copyright 1994, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -42,6 +42,7 @@
>  #include <fcntl.h>
>  #include <errno.h>
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #include "inferior.h"
>  #include "target.h"
>Index: corelow.c
>===================================================================
>RCS file: /cvs/src/src/gdb/corelow.c,v
>retrieving revision 1.12
>diff -u -r1.12 corelow.c
>--- corelow.c   2001/02/14 18:48:40     1.12
>+++ corelow.c   2001/02/28 15:01:06
>@@ -35,6 +35,7 @@
>  #include "target.h"
>  #include "gdbcore.h"
>  #include "gdbthread.h"
>+#include "regcache.h"
>
>  #ifndef O_BINARY
>  #define O_BINARY 0
>Index: cpu32bug-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/cpu32bug-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 cpu32bug-rom.c
>--- cpu32bug-rom.c      2000/07/30 01:48:25     1.3
>+++ cpu32bug-rom.c      2001/02/28 15:01:06
>@@ -1,5 +1,5 @@
>  /* Remote debugging interface for CPU32Bug Rom monitor for GDB, the GNU 
> debugger.
>-   Copyright 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>
>     Written by Stu Grossman of Cygnus Support
>
>@@ -25,6 +25,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void cpu32bug_open (char *args, int from_tty);
>
>Index: cxux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/cxux-nat.c,v
>retrieving revision 1.6
>diff -u -r1.6 cxux-nat.c
>--- cxux-nat.c  2000/12/15 01:01:46     1.6
>+++ cxux-nat.c  2001/02/28 15:01:06
>@@ -1,5 +1,6 @@
>  /* Native support for Motorola 88k running Harris CX/UX.
>-   Copyright 1988, 1990, 1991, 1992, 1993, 1994 Free Software Foundation, 
>Inc.
>+   Copyright 1988, 1990, 1991, 1992, 1993, 1994, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -33,6 +34,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "symtab.h"
>+#include "regcache.h"
>
>  #ifndef USER                   /* added to support BCS ptrace_user */
>  #define USER ptrace_user
>Index: d10v-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/d10v-tdep.c,v
>retrieving revision 1.15
>diff -u -r1.15 d10v-tdep.c
>--- d10v-tdep.c 2001/02/08 06:03:52     1.15
>+++ d10v-tdep.c 2001/02/28 15:01:07
>@@ -35,6 +35,7 @@
>  #include "objfiles.h"
>  #include "language.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  #include "floatformat.h"
>  #include "sim-d10v.h"
>Index: d30v-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/d30v-tdep.c,v
>retrieving revision 1.7
>diff -u -r1.7 d30v-tdep.c
>--- d30v-tdep.c 2001/02/08 06:03:52     1.7
>+++ d30v-tdep.c 2001/02/28 15:01:08
>@@ -33,6 +33,7 @@
>  #include "dis-asm.h"
>  #include "symfile.h"
>  #include "objfiles.h"
>+#include "regcache.h"
>
>  #include "language.h" /* For local_hex_string() */
>
>Index: dbug-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/dbug-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 dbug-rom.c
>--- dbug-rom.c  2000/07/30 01:48:25     1.3
>+++ dbug-rom.c  2001/02/28 15:01:08
>@@ -1,5 +1,5 @@
>  /* Remote debugging interface to dBUG ROM monitor for GDB, the GNU debugger.
>-   Copyright 1996, 1999 Free Software Foundation, Inc.
>+   Copyright 1996, 1999, 2001 Free Software Foundation, Inc.
>
>     Written by Stan Shebs of Cygnus Support.
>
>@@ -30,6 +30,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void dbug_open (char *args, int from_tty);
>
>Index: dink32-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/dink32-rom.c,v
>retrieving revision 1.4
>diff -u -r1.4 dink32-rom.c
>--- dink32-rom.c        2000/07/31 20:56:43     1.4
>+++ dink32-rom.c        2001/02/28 15:01:08
>@@ -1,6 +1,6 @@
>  /* Remote debugging interface for DINK32 (PowerPC) ROM monitor for
>     GDB, the GNU debugger.
>-   Copyright 1997 Free Software Foundation, Inc.
>+   Copyright 1997, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -26,6 +26,7 @@
>  #include "serial.h"
>  #include "symfile.h" /* For generic_load() */
>  #include "inferior.h" /* For write_pc() */
>+#include "regcache.h"
>
>  static void dink32_open (char *args, int from_tty);
>
>Index: dve3900-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/dve3900-rom.c,v
>retrieving revision 1.5
>diff -u -r1.5 dve3900-rom.c
>--- dve3900-rom.c       2000/12/15 01:01:46     1.5
>+++ dve3900-rom.c       2001/02/28 15:01:08
>@@ -1,6 +1,6 @@
>  /* Remote debugging interface for Densan DVE-R3900 ROM monitor for
>     GDB, the GNU debugger.
>-   Copyright 1997 Free Software Foundation, Inc.
>+   Copyright 1997, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +28,7 @@
>  #include "command.h"
>  #include "gdb_string.h"
>  #include <time.h>
>+#include "regcache.h"
>
>  /* Type of function passed to bfd_map_over_sections.  */
>
>Index: findvar.c
>===================================================================
>RCS file: /cvs/src/src/gdb/findvar.c,v
>retrieving revision 1.17
>diff -u -r1.17 findvar.c
>--- findvar.c   2001/02/08 06:03:52     1.17
>+++ findvar.c   2001/02/28 15:01:08
>@@ -30,6 +30,7 @@
>  #include "gdb_string.h"
>  #include "floatformat.h"
>  #include "symfile.h"           /* for overlay functions */
>+#include "regcache.h"
>
>  /* This is used to indicate that we don't know the format of the 
> floating point
>     number.  Typically, this is useful for native ports, where the actual 
> format
>Index: fr30-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/fr30-tdep.c,v
>retrieving revision 1.4
>diff -u -r1.4 fr30-tdep.c
>--- fr30-tdep.c 2000/12/08 19:59:25     1.4
>+++ fr30-tdep.c 2001/02/28 15:01:08
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for the Fujitsu FR30.
>-   Copyright 1999, Free Software Foundation, Inc.
>+   Copyright 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +28,7 @@
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>  #include "symfile.h"
>+#include "regcache.h"
>
>  /* An expression that tells us whether the function invocation represented
>     by FI does not have a frame on the stack associated with it.  */
>Index: frame.c
>===================================================================
>RCS file: /cvs/src/src/gdb/frame.c,v
>retrieving revision 1.1
>diff -u -r1.1 frame.c
>--- frame.c     2001/02/20 22:39:03     1.1
>+++ frame.c     2001/02/28 15:01:08
>@@ -24,6 +24,7 @@
>  #include "target.h"
>  #include "value.h"
>  #include "inferior.h"  /* for inferior_pid */
>+#include "regcache.h"
>
>  /* FIND_SAVED_REGISTER ()
>
>Index: gdbcore.h
>===================================================================
>RCS file: /cvs/src/src/gdb/gdbcore.h,v
>retrieving revision 1.5
>diff -u -r1.5 gdbcore.h
>--- gdbcore.h   2001/01/27 00:43:25     1.5
>+++ gdbcore.h   2001/02/28 15:01:10
>@@ -108,8 +108,6 @@
>
>  extern CORE_ADDR register_addr (int regno, CORE_ADDR blockend);
>
>-extern void registers_fetched (void);
>-
>  #if !defined (KERNEL_U_ADDR)
>  extern CORE_ADDR kernel_u_addr;
>  #define KERNEL_U_ADDR kernel_u_addr
>Index: go32-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/go32-nat.c,v
>retrieving revision 1.9
>diff -u -r1.9 go32-nat.c
>--- go32-nat.c  2001/02/18 07:22:16     1.9
>+++ go32-nat.c  2001/02/28 15:01:10
>@@ -29,6 +29,7 @@
>  #include "floatformat.h"
>  #include "buildsym.h"
>  #include "i387-nat.h"
>+#include "regcache.h"
>
>  #include <stdio.h>             /* required for __DJGPP_MINOR__ */
>  #include <stdlib.h>
>Index: h8300-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/h8300-tdep.c,v
>retrieving revision 1.4
>diff -u -r1.4 h8300-tdep.c
>--- h8300-tdep.c        2000/12/02 11:37:15     1.4
>+++ h8300-tdep.c        2001/02/28 15:01:10
>@@ -1,5 +1,5 @@
>  /* Target-machine dependent code for Hitachi H8/300, for GDB.
>-   Copyright (C) 1988, 1990, 1991 Free Software Foundation, Inc.
>+   Copyright 1988, 1990, 1991, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -33,6 +33,7 @@
>  #include "gdbcore.h"
>  #include "gdb_string.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  extern int h8300hmode, h8300smode;
>
>Index: h8500-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/h8500-tdep.c,v
>retrieving revision 1.5
>diff -u -r1.5 h8500-tdep.c
>--- h8500-tdep.c        2001/02/25 04:45:11     1.5
>+++ h8500-tdep.c        2001/02/28 15:01:10
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for Hitachi H8/500, for GDB.
>-   Copyright 1993, 1994, 1995 Free Software Foundation, Inc.
>+   Copyright 1993, 1994, 1995, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -32,6 +32,7 @@
>  #include "value.h"
>  #include "dis-asm.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #define UNSIGNED_SHORT(X) ((X) & 0xffff)
>
>Index: hp300ux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hp300ux-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 hp300ux-nat.c
>--- hp300ux-nat.c       2000/07/30 01:48:25     1.3
>+++ hp300ux-nat.c       2001/02/28 15:01:10
>@@ -1,5 +1,6 @@
>  /* HP/UX native interface for HP 300's, for GDB when running under Unix.
>-   Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, 
>Inc.
>+   Copyright 1986, 1987, 1989, 1991, 1992, 1993, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "frame.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  /* Defining this means some system include files define some extra 
> stuff.  */
>  #define WOPR
>Index: hppa-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
>retrieving revision 1.8
>diff -u -r1.8 hppa-tdep.c
>--- hppa-tdep.c 2000/09/02 00:07:32     1.8
>+++ hppa-tdep.c 2001/02/28 15:01:13
>@@ -1,5 +1,6 @@
>  /* Target-dependent code for the HP PA architecture, for GDB.
>-   Copyright 1986, 1987, 1989-1996, 1999-2000 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989-1996, 1999-2000, 2001 Free Software
>+   Foundation, Inc.
>
>     Contributed by the Center for Software Science at the
>     University of Utah (pa-gdb-bugs@cs.utah.edu).
>@@ -26,6 +27,7 @@
>  #include "bfd.h"
>  #include "inferior.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  /* For argument passing to the inferior */
>  #include "symtab.h"
>Index: hppab-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hppab-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 hppab-nat.c
>--- hppab-nat.c 2000/10/27 15:02:42     1.3
>+++ hppab-nat.c 2001/02/28 15:01:13
>@@ -1,7 +1,8 @@
>  /* Machine-dependent hooks for the unix child process stratum.  This
>     code is for the HP PA-RISC cpu.
>
>-   Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993 Free Software 
>Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 2001 Free
>+   Software Foundation, Inc.
>
>     Contributed by the Center for Software Science at the
>     University of Utah (pa-gdb-bugs@cs.utah.edu).
>@@ -26,6 +27,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "target.h"
>+#include "regcache.h"
>  #include <sys/ptrace.h>
>
>  /* Use an extra level of indirection for ptrace calls.
>Index: hppah-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hppah-nat.c,v
>retrieving revision 1.8
>diff -u -r1.8 hppah-nat.c
>--- hppah-nat.c 2001/02/08 06:03:53     1.8
>+++ hppah-nat.c 2001/02/28 15:01:13
>@@ -30,6 +30,7 @@
>  #include <sys/ptrace.h>
>  #include "gdbcore.h"
>  #include "gdb_wait.h"
>+#include "regcache.h"
>  #include <signal.h>
>
>  extern CORE_ADDR text_end;
>Index: hppam3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hppam3-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 hppam3-nat.c
>--- hppam3-nat.c        2000/07/30 01:48:25     1.2
>+++ hppam3-nat.c        2001/02/28 15:01:13
>@@ -1,5 +1,5 @@
>  /* Low level interface to HP800 running mach 4.0.
>-   Copyright (C) 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +21,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include <stdio.h>
>
>Index: hpux-thread.c
>===================================================================
>RCS file: /cvs/src/src/gdb/hpux-thread.c,v
>retrieving revision 1.6
>diff -u -r1.6 hpux-thread.c
>--- hpux-thread.c       2001/02/16 23:09:05     1.6
>+++ hpux-thread.c       2001/02/28 15:01:13
>@@ -1,5 +1,5 @@
>  /* Low level interface for debugging HPUX/DCE threads for GDB, the GNU 
> debugger.
>-   Copyright 1996, 1999 Free Software Foundation, Inc.
>+   Copyright 1996, 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -39,6 +39,7 @@
>  #include "gdbthread.h"
>  #include "target.h"
>  #include "inferior.h"
>+#include "regcache.h"
>  #include <fcntl.h>
>  #include <sys/stat.h>
>  #include "gdbcore.h"
>Index: i386-linux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386-linux-nat.c,v
>retrieving revision 1.21
>diff -u -r1.21 i386-linux-nat.c
>--- i386-linux-nat.c    2001/02/08 06:03:53     1.21
>+++ i386-linux-nat.c    2001/02/28 15:01:13
>@@ -21,6 +21,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/ptrace.h>
>  #include <sys/user.h>
>Index: i386-linux-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v
>retrieving revision 1.3
>diff -u -r1.3 i386-linux-tdep.c
>--- i386-linux-tdep.c   2000/10/31 19:35:03     1.3
>+++ i386-linux-tdep.c   2001/02/28 15:01:13
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for Linux running on i386's, for GDB.
>-   Copyright (C) 2000 Free Software Foundation, Inc.
>+   Copyright 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "gdbcore.h"
>  #include "frame.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  /* For i386_linux_skip_solib_resolver.  */
>  #include "symtab.h"
>Index: i386-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386-tdep.c,v
>retrieving revision 1.18
>diff -u -r1.18 i386-tdep.c
>--- i386-tdep.c 2001/02/25 04:45:11     1.18
>+++ i386-tdep.c 2001/02/28 15:01:14
>@@ -30,6 +30,7 @@
>  #include "gdbcmd.h"
>  #include "command.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  static long i386_get_frame_setup (CORE_ADDR);
>
>Index: i386aix-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386aix-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 i386aix-nat.c
>--- i386aix-nat.c       2000/09/05 22:46:57     1.4
>+++ i386aix-nat.c       2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Intel 386 native support.
>-   Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -23,6 +24,7 @@
>  #include "inferior.h"
>  #include "language.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #ifdef USG
>  #include <sys/types.h>
>Index: i386b-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386b-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 i386b-nat.c
>--- i386b-nat.c 2000/07/30 01:48:25     1.2
>+++ i386b-nat.c 2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for BSD Unix running on i386's, for GDB.
>-   Copyright 1988, 1989, 1991, 1992, 1994, 1996 Free Software Foundation, 
>Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -27,6 +28,7 @@
>  #include <machine/frame.h>
>  #include "inferior.h"
>  #include "gdbcore.h" /* for registers_fetched() */
>+#include "regcache.h"
>
>  void
>  fetch_inferior_registers (int regno)
>Index: i386bsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386bsd-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 i386bsd-nat.c
>--- i386bsd-nat.c       2001/01/03 21:12:18     1.4
>+++ i386bsd-nat.c       2001/02/28 15:01:14
>@@ -1,5 +1,5 @@
>  /* Native-dependent code for modern i386 BSD's.
>-   Copyright (C) 2000 Free Software Foundation, Inc.
>+   Copyright 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -20,6 +20,7 @@
>
>  #include "defs.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/ptrace.h>
>Index: i386gnu-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386gnu-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 i386gnu-nat.c
>--- i386gnu-nat.c       2000/12/17 00:35:58     1.3
>+++ i386gnu-nat.c       2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Low level interface to i386 running the GNU Hurd.
>-   Copyright (C) 1992, 1995, 1996, 2000 Free Software Foundation, Inc.
>+   Copyright 1992, 1995, 1996, 2000, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include "gdb_assert.h"
>  #include <stdio.h>
>Index: i386ly-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386ly-tdep.c,v
>retrieving revision 1.2
>diff -u -r1.2 i386ly-tdep.c
>--- i386ly-tdep.c       2000/07/30 01:48:25     1.2
>+++ i386ly-tdep.c       2001/02/28 15:01:14
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for Intel 386 running LynxOS.
>-   Copyright 1993 Free Software Foundation, Inc.
>+   Copyright 1993, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  /* Return the PC of the caller from the call frame.  Assumes the subr 
> prologue
>     has already been executed, and the frame pointer setup.  If this is the
>Index: i386m3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386m3-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 i386m3-nat.c
>--- i386m3-nat.c        2000/07/30 01:48:25     1.2
>+++ i386m3-nat.c        2001/02/28 15:01:14
>@@ -1,5 +1,5 @@
>  /* Low level interface to I386 running mach 3.0.
>-   Copyright (C) 1992 Free Software Foundation, Inc.
>+   Copyright 1992, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +21,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include <stdio.h>
>
>Index: i386mach-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386mach-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 i386mach-nat.c
>--- i386mach-nat.c      2000/09/07 19:27:15     1.5
>+++ i386mach-nat.c      2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Native dependent code for Mach 386's for GDB, the GNU debugger.
>-   Copyright (C) 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1991, 1992, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +23,7 @@
>  #include "frame.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/param.h>
>  #include <sys/dir.h>
>Index: i386nbsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386nbsd-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 i386nbsd-nat.c
>--- i386nbsd-nat.c      2000/09/07 20:08:40     1.5
>+++ i386nbsd-nat.c      2001/02/28 15:01:14
>@@ -1,6 +1,6 @@
>  /* Native-dependent code for NetBSD/i386, for GDB.
>-   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000
>-   Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001 Free
>+   Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -26,6 +26,7 @@
>  #include <machine/frame.h>
>  #include "inferior.h"
>  #include "gdbcore.h" /* for registers_fetched() */
>+#include "regcache.h"
>
>  #define RF(dst, src) \
>         memcpy(&registers[REGISTER_BYTE(dst)], &src, sizeof(src))
>Index: i386v4-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i386v4-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 i386v4-nat.c
>--- i386v4-nat.c        2000/07/30 01:48:25     1.5
>+++ i386v4-nat.c        2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for SVR4 Unix running on i386's, for GDB.
>-   Copyright 1988, 1989, 1991, 1992, 1996, 1998 Free Software Foundation, 
>Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1996, 1998, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "value.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #ifdef HAVE_SYS_REG_H
>  #include <sys/reg.h>
>Index: i387-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i387-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 i387-nat.c
>--- i387-nat.c  2001/02/17 09:01:14     1.3
>+++ i387-nat.c  2001/02/28 15:01:14
>@@ -21,6 +21,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  #include "i387-nat.h"
>
>Index: i387-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i387-tdep.c,v
>retrieving revision 1.6
>diff -u -r1.6 i387-tdep.c
>--- i387-tdep.c 2000/07/30 01:48:25     1.6
>+++ i387-tdep.c 2001/02/28 15:01:14
>@@ -1,5 +1,6 @@
>  /* Intel 387 floating point stuff.
>-   Copyright (C) 1988, 89, 91, 98, 99, 2000 Free Software Foundation, Inc.
>+   Copyright 1988, 89, 91, 98, 99, 2000, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -25,6 +26,7 @@
>  #include "value.h"
>  #include "gdbcore.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>
>  /* FIXME: Eliminate the next two functions when we have the time to
>Index: i960-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/i960-tdep.c,v
>retrieving revision 1.5
>diff -u -r1.5 i960-tdep.c
>--- i960-tdep.c 2001/02/25 04:45:11     1.5
>+++ i960-tdep.c 2001/02/28 15:01:15
>@@ -1,5 +1,6 @@
>  /* Target-machine dependent code for the Intel 960
>-   Copyright 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
>+   Copyright 1991, 1992, 1993, 1994, 1995, 2001 Free Software
>+   Foundation, Inc.
>     Contributed by Intel Corporation.
>     examine_prologue and other parts contributed by Wind River Systems.
>
>@@ -28,6 +29,7 @@
>  #include "target.h"
>  #include "gdbcore.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  static CORE_ADDR next_insn (CORE_ADDR memaddr,
>                             unsigned int *pword1, unsigned int *pword2);
>Index: ia64-aix-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ia64-aix-nat.c,v
>retrieving revision 1.1
>diff -u -r1.1 ia64-aix-nat.c
>--- ia64-aix-nat.c      2001/02/22 03:01:26     1.1
>+++ ia64-aix-nat.c      2001/02/28 15:01:15
>@@ -22,6 +22,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>  #include <sys/procfs.h>
>
>  #include "symtab.h"
>Index: ia64-linux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ia64-linux-nat.c,v
>retrieving revision 1.7
>diff -u -r1.7 ia64-linux-nat.c
>--- ia64-linux-nat.c    2000/07/30 01:48:25     1.7
>+++ ia64-linux-nat.c    2001/02/28 15:01:15
>@@ -1,5 +1,5 @@
>  /* Functions specific to running gdb native on IA-64 running Linux.
>-   Copyright 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <signal.h>
>  #include <sys/ptrace.h>
>Index: ia64-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
>retrieving revision 1.14
>diff -u -r1.14 ia64-tdep.c
>--- ia64-tdep.c 2001/02/22 03:01:27     1.14
>+++ ia64-tdep.c 2001/02/28 15:01:16
>@@ -25,6 +25,7 @@
>  #include "gdbcore.h"
>  #include "arch-utils.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include "objfiles.h"
>  #include "elf/common.h"                /* for DT_PLTGOT value */
>Index: inferior.h
>===================================================================
>RCS file: /cvs/src/src/gdb/inferior.h,v
>retrieving revision 1.15
>diff -u -r1.15 inferior.h
>--- inferior.h  2001/02/08 06:03:53     1.15
>+++ inferior.h  2001/02/28 15:01:16
>@@ -111,16 +111,6 @@
>
>  extern struct environ *inferior_environ;
>
>-/* Character array containing an image of the inferior programs'
>-   registers. */
>-
>-extern char *registers;
>-
>-/* Character array containing the current state of each register
>-   (unavailable<0, valid=0, invalid>0). */
>-
>-extern signed char *register_valid;
>-
>  extern void clear_proceed_status (void);
>
>  extern void proceed (CORE_ADDR, enum target_signal, int);
>Index: infptrace.c
>===================================================================
>RCS file: /cvs/src/src/gdb/infptrace.c,v
>retrieving revision 1.9
>diff -u -r1.9 infptrace.c
>--- infptrace.c 2001/02/25 04:45:11     1.9
>+++ infptrace.c 2001/02/28 15:01:17
>@@ -24,6 +24,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #include "gdb_wait.h"
>
>Index: infrun.c
>===================================================================
>RCS file: /cvs/src/src/gdb/infrun.c,v
>retrieving revision 1.25
>diff -u -r1.25 infrun.c
>--- infrun.c    2001/02/08 06:03:53     1.25
>+++ infrun.c    2001/02/28 15:01:19
>@@ -35,6 +35,7 @@
>  #include "top.h"
>  #include <signal.h>
>  #include "inf-loop.h"
>+#include "regcache.h"
>
>  /* Prototypes for local functions */
>
>Index: irix4-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/irix4-nat.c,v
>retrieving revision 1.6
>diff -u -r1.6 irix4-nat.c
>--- irix4-nat.c 2000/09/11 07:36:07     1.6
>+++ irix4-nat.c 2001/02/28 15:01:19
>@@ -1,6 +1,6 @@
>  /* Native support for the SGI Iris running IRIX version 4, for GDB.
>-   Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1995
>-   Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1995, 2001 Free
>+   Software Foundation, Inc.
>     Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU
>     and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin.
>     Implemented for Irix 4.x by Garrett A. Wollman.
>@@ -25,6 +25,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/time.h>
>  #include <sys/procfs.h>
>Index: irix5-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/irix5-nat.c,v
>retrieving revision 1.10
>diff -u -r1.10 irix5-nat.c
>--- irix5-nat.c 2000/12/15 01:01:47     1.10
>+++ irix5-nat.c 2001/02/28 15:01:19
>@@ -1,6 +1,6 @@
>  /* Native support for the SGI Iris running IRIX version 5, for GDB.
>-   Copyright 1988, 89, 90, 91, 92, 93, 94, 95, 96, 98, 1999
>-   Free Software Foundation, Inc.
>+   Copyright 1988, 89, 90, 91, 92, 93, 94, 95, 96, 98, 1999, 2001 Free
>+   Software Foundation, Inc.
>     Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU
>     and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin.
>     Implemented for Irix 4.x by Garrett A. Wollman.
>@@ -27,6 +27,7 @@
>  #include "inferior.h"
>  #include "gdbcore.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <sys/time.h>
>Index: lin-lwp.c
>===================================================================
>RCS file: /cvs/src/src/gdb/lin-lwp.c,v
>retrieving revision 1.5
>diff -u -r1.5 lin-lwp.c
>--- lin-lwp.c   2001/01/24 00:26:46     1.5
>+++ lin-lwp.c   2001/02/28 15:01:20
>@@ -1,5 +1,5 @@
>  /* Multi-threaded debugging support for Linux (LWP layer).
>-   Copyright 2000 Free Software Foundation, Inc.
>+   Copyright 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -29,6 +29,7 @@
>  #include "gdbthread.h"
>  #include "inferior.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  #define DEBUG 1
>
>Index: lin-thread.c
>===================================================================
>RCS file: /cvs/src/src/gdb/lin-thread.c,v
>retrieving revision 1.9
>diff -u -r1.9 lin-thread.c
>--- lin-thread.c        2000/12/15 01:01:48     1.9
>+++ lin-thread.c        2001/02/28 15:01:21
>@@ -1,6 +1,6 @@
>  /* Multi-threaded debugging support for the thread_db interface,
>     used on operating systems such as Solaris and Linux.
>-   Copyright 1999 Free Software Foundation, Inc.
>+   Copyright 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -101,6 +101,7 @@
>  #include "target.h"
>  #include "inferior.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  #include "gdb_wait.h"
>
>Index: lynx-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/lynx-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 lynx-nat.c
>--- lynx-nat.c  2001/02/25 04:45:11     1.5
>+++ lynx-nat.c  2001/02/28 15:01:21
>@@ -1,5 +1,5 @@
>  /* Native-dependent code for LynxOS.
>-   Copyright 1993, 1994 Free Software Foundation, Inc.
>+   Copyright 1993, 1994, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -23,6 +23,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/ptrace.h>
>  #include <sys/wait.h>
>Index: m3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m3-nat.c,v
>retrieving revision 1.8
>diff -u -r1.8 m3-nat.c
>--- m3-nat.c    2001/02/25 04:45:11     1.8
>+++ m3-nat.c    2001/02/28 15:01:23
>@@ -57,6 +57,7 @@
>  #include "gdb_wait.h"
>  #include "gdbcmd.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #if 0
>  #include <servers/machid_lib.h>
>Index: m32r-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m32r-rom.c,v
>retrieving revision 1.5
>diff -u -r1.5 m32r-rom.c
>--- m32r-rom.c  2001/01/31 01:24:01     1.5
>+++ m32r-rom.c  2001/02/28 15:01:23
>@@ -37,6 +37,7 @@
>  #include "objfiles.h"          /* for ALL_OBJFILES etc. */
>  #include "inferior.h"          /* for write_pc() */
>  #include <ctype.h>
>+#include "regcache.h"
>
>  extern void report_transfer_performance (unsigned long, time_t, time_t);
>
>Index: m32r-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m32r-tdep.c,v
>retrieving revision 1.2
>diff -u -r1.2 m32r-tdep.c
>--- m32r-tdep.c 2000/07/30 01:48:26     1.2
>+++ m32r-tdep.c 2001/02/28 15:01:23
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for the Mitsubishi m32r for GDB, the GNU debugger.
>-   Copyright 1996, Free Software Foundation, Inc.
>+   Copyright 1996, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +28,7 @@
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>  #include "symfile.h"
>+#include "regcache.h"
>
>  /* Function: m32r_use_struct_convention
>     Return nonzero if call_function should allocate stack space for a
>Index: m68hc11-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m68hc11-tdep.c,v
>retrieving revision 1.11
>diff -u -r1.11 m68hc11-tdep.c
>--- m68hc11-tdep.c      2000/12/02 17:13:44     1.11
>+++ m68hc11-tdep.c      2001/02/28 15:01:24
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for Motorola 68HC11 & 68HC12
>-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>     Contributed by Stephane Carrez, stcarrez@worldnet.fr
>
>  This file is part of GDB.
>@@ -33,6 +33,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  #include "target.h"
>  #include "opcode/m68hc11.h"
>Index: m68k-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m68k-tdep.c,v
>retrieving revision 1.10
>diff -u -r1.10 m68k-tdep.c
>--- m68k-tdep.c 2001/02/08 06:03:53     1.10
>+++ m68k-tdep.c 2001/02/28 15:01:24
>@@ -26,6 +26,7 @@
>  #include "value.h"
>  #include "gdb_string.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>
>  #define P_LINKL_FP     0x480e
>Index: m68klinux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m68klinux-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 m68klinux-nat.c
>--- m68klinux-nat.c     2000/07/30 01:48:26     1.3
>+++ m68klinux-nat.c     2001/02/28 15:01:24
>@@ -1,5 +1,5 @@
>  /* Motorola m68k native support for Linux
>-   Copyright (C) 1996,1998 Free Software Foundation, Inc.
>+   Copyright 1996, 1998, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -23,6 +23,7 @@
>  #include "inferior.h"
>  #include "language.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #ifdef USG
>  #include <sys/types.h>
>Index: m68knbsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m68knbsd-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 m68knbsd-nat.c
>--- m68knbsd-nat.c      2001/01/17 23:07:15     1.4
>+++ m68knbsd-nat.c      2001/02/28 15:01:24
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for Motorola m68k's running NetBSD, for GDB.
>-   Copyright 1988, 1989, 1991, 1992, 1994, 1996 Free Software Foundation, 
>Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -25,6 +26,7 @@
>  #include <machine/frame.h>
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  void
>  fetch_inferior_registers (int regno)
>Index: m68knbsd-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m68knbsd-tdep.c,v
>retrieving revision 1.1
>diff -u -r1.1 m68knbsd-tdep.c
>--- m68knbsd-tdep.c     2001/01/17 23:07:15     1.1
>+++ m68knbsd-tdep.c     2001/02/28 15:01:24
>@@ -21,6 +21,7 @@
>
>  #include "defs.h"
>  #include "gdbtypes.h"
>+#include "regcache.h"
>
>  int
>  m68knbsd_use_struct_convention (int gcc_p, struct type *type)
>Index: m88k-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m88k-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 m88k-nat.c
>--- m88k-nat.c  2000/09/18 00:34:51     1.4
>+++ m88k-nat.c  2001/02/28 15:01:24
>@@ -1,5 +1,6 @@
>  /* Native-dependent Motorola 88xxx support for GDB, the GNU Debugger.
>-   Copyright 1988, 1990, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1988, 1990, 1991, 1992, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "frame.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/param.h>
>Index: m88k-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/m88k-tdep.c,v
>retrieving revision 1.3
>diff -u -r1.3 m88k-tdep.c
>--- m88k-tdep.c 2000/09/18 00:34:51     1.3
>+++ m88k-tdep.c 2001/02/28 15:01:24
>@@ -1,5 +1,6 @@
>  /* Target-machine dependent code for Motorola 88000 series, for GDB.
>-   Copyright 1988, 1990, 1991, 1994, 1995 Free Software Foundation, Inc.
>+   Copyright 1988, 1990, 1991, 1994, 1995, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -26,6 +27,7 @@
>  #include "symtab.h"
>  #include "setjmp.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  /* Size of an instruction */
>  #define        BYTES_PER_88K_INSN      4
>Index: mac-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mac-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 mac-nat.c
>--- mac-nat.c   2000/07/30 01:48:26     1.4
>+++ mac-nat.c   2001/02/28 15:01:24
>@@ -1,5 +1,5 @@
>  /* Target-vector operations for controlling Mac applications, for GDB.
>-   Copyright (C) 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>     Written by Stan Shebs.  Contributed by Cygnus Support.
>
>     This file is part of GDB.
>@@ -36,6 +36,7 @@
>  #include "gdb_string.h"
>  #include "gdbthread.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  #include <Processes.h>
>
>Index: mcore-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mcore-rom.c,v
>retrieving revision 1.2
>diff -u -r1.2 mcore-rom.c
>--- mcore-rom.c 2000/07/30 01:48:26     1.2
>+++ mcore-rom.c 2001/02/28 15:01:24
>@@ -1,6 +1,6 @@
>  /* Remote debugging interface to Motorola picobug monitor for gdb,
>     the GNU debugger.
>-   Copyright 1999 Free Software Foundation, Inc.
>+   Copyright 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -24,6 +24,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  /* Functions used only in this file. */
>
>Index: mcore-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mcore-tdep.c,v
>retrieving revision 1.5
>diff -u -r1.5 mcore-tdep.c
>--- mcore-tdep.c        2000/12/08 19:59:25     1.5
>+++ mcore-tdep.c        2001/02/28 15:01:25
>@@ -1,5 +1,5 @@
>  /* Target-machine dependent code for Motorola MCore for GDB, the GNU 
> debugger
>-   Copyright (C) 1999 Free Software Foundation, Inc.
>+   Copyright 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "symtab.h"
>  #include "value.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  /* Functions declared and used only in this file */
>
>Index: mips-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mips-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 mips-nat.c
>--- mips-nat.c  2000/08/09 20:09:01     1.4
>+++ mips-nat.c  2001/02/28 15:01:25
>@@ -1,5 +1,6 @@
>  /* Low level DECstation interface to ptrace, for GDB when running native.
>-   Copyright 1988, 1989, 1991, 1992, 1995 Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1995, 2001 Free Software
>+   Foundation, Inc.
>     Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU
>     and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin.
>
>@@ -23,6 +24,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>  #include <sys/ptrace.h>
>  #include <sys/types.h>
>  #include <sys/param.h>
>Index: mips-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mips-tdep.c,v
>retrieving revision 1.42
>diff -u -r1.42 mips-tdep.c
>--- mips-tdep.c 2001/02/21 00:05:34     1.42
>+++ mips-tdep.c 2001/02/28 15:01:27
>@@ -37,6 +37,7 @@
>  #include "gdbtypes.h"
>  #include "target.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  #include "opcode/mips.h"
>  #include "elf/mips.h"
>Index: mipsm3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mipsm3-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 mipsm3-nat.c
>--- mipsm3-nat.c        2000/07/30 01:48:26     1.2
>+++ mipsm3-nat.c        2001/02/28 15:01:27
>@@ -1,5 +1,5 @@
>  /* Definitions to make GDB run on a mips box under Mach 3.0
>-   Copyright (C) 1992 Free Software Foundation, Inc.
>+   Copyright (C) 1992, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -26,6 +26,7 @@
>
>  #include "defs.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <stdio.h>
>
>Index: mipsv4-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mipsv4-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 mipsv4-nat.c
>--- mipsv4-nat.c        2000/08/09 20:09:01     1.4
>+++ mipsv4-nat.c        2001/02/28 15:01:27
>@@ -1,5 +1,5 @@
>  /* Native support for MIPS running SVR4, for GDB.
>-   Copyright 1994, 1995 Free Software Foundation, Inc.
>+   Copyright 1994, 1995, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +22,7 @@
>  #include "inferior.h"
>  #include "gdbcore.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  #include <sys/time.h>
>  #include <sys/procfs.h>
>Index: mn10200-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mn10200-tdep.c,v
>retrieving revision 1.2
>diff -u -r1.2 mn10200-tdep.c
>--- mn10200-tdep.c      2000/07/30 01:48:26     1.2
>+++ mn10200-tdep.c      2001/02/28 15:01:27
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for the Matsushita MN10200 for GDB, the GNU 
> debugger.
>-   Copyright 1997 Free Software Foundation, Inc.
>+   Copyright 1997, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +28,7 @@
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>  #include "symfile.h"
>+#include "regcache.h"
>
>
>  /* Should call_function allocate stack space for a struct return?  */
>Index: mn10300-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mn10300-tdep.c,v
>retrieving revision 1.6
>diff -u -r1.6 mn10300-tdep.c
>--- mn10300-tdep.c      2001/02/08 06:03:53     1.6
>+++ mn10300-tdep.c      2001/02/28 15:01:28
>@@ -29,6 +29,7 @@
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>  #include "symfile.h"
>+#include "regcache.h"
>
>  extern void _initialize_mn10300_tdep (void);
>  static CORE_ADDR mn10300_analyze_prologue (struct frame_info *fi,
>Index: monitor.c
>===================================================================
>RCS file: /cvs/src/src/gdb/monitor.c,v
>retrieving revision 1.19
>diff -u -r1.19 monitor.c
>--- monitor.c   2001/02/25 04:45:11     1.19
>+++ monitor.c   2001/02/28 15:01:28
>@@ -51,6 +51,7 @@
>  #include "inferior.h"
>  #include "gdb_regex.h"
>  #include "srec.h"
>+#include "regcache.h"
>
>  static char *dev_name;
>  static struct target_ops *targ_ops;
>Index: ns32km3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ns32km3-nat.c,v
>retrieving revision 1.2
>diff -u -r1.2 ns32km3-nat.c
>--- ns32km3-nat.c       2000/07/30 01:48:26     1.2
>+++ ns32km3-nat.c       2001/02/28 15:01:28
>@@ -1,5 +1,5 @@
>  /* Low level interface to ns532 running mach 3.0.
>-   Copyright (C) 1992 Free Software Foundation, Inc.
>+   Copyright 1992, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -20,6 +20,7 @@
>
>  #include "defs.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <stdio.h>
>
>Index: ns32knbsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ns32knbsd-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 ns32knbsd-nat.c
>--- ns32knbsd-nat.c     2000/09/26 04:27:59     1.3
>+++ ns32knbsd-nat.c     2001/02/28 15:01:28
>@@ -1,5 +1,6 @@
>  /* Functions specific to running gdb native on an ns32k running NetBSD
>-   Copyright 1989, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.
>+   Copyright 1989, 1992, 1993, 1994, 1996, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +29,7 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #define RF(dst, src) \
>         memcpy(&registers[REGISTER_BYTE(dst)], &src, sizeof(src))
>Index: ocd.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ocd.c,v
>retrieving revision 1.12
>diff -u -r1.12 ocd.c
>--- ocd.c       2001/02/25 04:45:11     1.12
>+++ ocd.c       2001/02/28 15:01:29
>@@ -34,6 +34,7 @@
>  #include <signal.h>
>  #include "serial.h"
>  #include "ocd.h"
>+#include "regcache.h"
>
>  /* Prototypes for local functions */
>
>Index: pa64solib.c
>===================================================================
>RCS file: /cvs/src/src/gdb/pa64solib.c,v
>retrieving revision 1.9
>diff -u -r1.9 pa64solib.c
>--- pa64solib.c 2000/12/15 01:01:48     1.9
>+++ pa64solib.c 2001/02/28 15:01:29
>@@ -1,5 +1,5 @@
>  /* Handle HP ELF shared libraries for GDB, the GNU Debugger.
>-   Copyright 1999 Free Software Foundation, Inc.
>+   Copyright 1999, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -49,6 +49,7 @@
>  #include "gdbcmd.h"
>  #include "assert.h"
>  #include "language.h"
>+#include "regcache.h"
>
>  #include <fcntl.h>
>
>Index: ppc-bdm.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ppc-bdm.c,v
>retrieving revision 1.7
>diff -u -r1.7 ppc-bdm.c
>--- ppc-bdm.c   2001/02/02 23:04:14     1.7
>+++ ppc-bdm.c   2001/02/28 15:01:29
>@@ -35,6 +35,7 @@
>  #include "serial.h"
>  #include "ocd.h"
>  #include "ppc-tdep.h"
>+#include "regcache.h"
>
>  static void bdm_ppc_open (char *name, int from_tty);
>
>Index: ppc-linux-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
>retrieving revision 1.6
>diff -u -r1.6 ppc-linux-nat.c
>--- ppc-linux-nat.c     2000/09/30 05:41:39     1.6
>+++ ppc-linux-nat.c     2001/02/28 15:01:29
>@@ -1,5 +1,6 @@
>  /* PPC linux native support.
>-   Copyright (C) 1988, 1989, 1991, 1992, 1994, 1996 Free Software 
>Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "frame.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/param.h>
>Index: ppc-linux-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
>retrieving revision 1.6
>diff -u -r1.6 ppc-linux-tdep.c
>--- ppc-linux-tdep.c    2000/07/31 20:56:43     1.6
>+++ ppc-linux-tdep.c    2001/02/28 15:01:30
>@@ -1,7 +1,8 @@
>  /* Target-dependent code for GDB, the GNU debugger.
>-   Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000
>-   Free Software Foundation, Inc.
>
>+   Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
>+   1997, 2000, 2001 Free Software Foundation, Inc.
>+
>     This file is part of GDB.
>
>     This program is free software; you can redistribute it and/or modify
>@@ -28,6 +29,7 @@
>  #include "gdbcmd.h"
>  #include "symfile.h"
>  #include "objfiles.h"
>+#include "regcache.h"
>
>  #include "ppc-tdep.h"
>
>Index: ppcbug-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ppcbug-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 ppcbug-rom.c
>--- ppcbug-rom.c        2000/07/30 01:48:26     1.3
>+++ ppcbug-rom.c        2001/02/28 15:01:30
>@@ -1,6 +1,6 @@
>  /* Remote debugging interface for PPCbug (PowerPC) Rom monitor
>     for GDB, the GNU debugger.
>-   Copyright 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>
>     Written by Stu Grossman of Cygnus Support
>
>@@ -26,6 +26,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void
>  ppcbug_supply_register (char *regname, int regnamelen, char *val, int 
> vallen)
>Index: ppcnbsd-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ppcnbsd-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 ppcnbsd-nat.c
>--- ppcnbsd-nat.c       2000/10/27 19:17:57     1.3
>+++ ppcnbsd-nat.c       2001/02/28 15:01:30
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for PowerPC's running NetBSD, for GDB.
>-   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000 Free Software 
>Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001 Free
>+   Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -27,6 +28,7 @@
>  #include "inferior.h"
>  #include "gdbcore.h"
>  #include "ppc-tdep.h"
>+#include "regcache.h"
>
>  #define RF(dst, src) \
>          memcpy(&registers[REGISTER_BYTE(dst)], &src, sizeof(src))
>Index: ptx4-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ptx4-nat.c,v
>retrieving revision 1.6
>diff -u -r1.6 ptx4-nat.c
>--- ptx4-nat.c  2000/09/30 02:39:10     1.6
>+++ ptx4-nat.c  2001/02/28 15:01:30
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for ptx 4.0
>-   Copyright 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>  #include <sys/procfs.h>
>  #include <sys/ptrace.h>
>  #include <sys/param.h>
>Index: regcache.c
>===================================================================
>RCS file: /cvs/src/src/gdb/regcache.c,v
>retrieving revision 1.17
>diff -u -r1.17 regcache.c
>--- regcache.c  2001/02/20 22:39:03     1.17
>+++ regcache.c  2001/02/28 15:01:30
>@@ -25,6 +25,7 @@
>  #include "target.h"
>  #include "gdbarch.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  /*
>   * DATA STRUCTURE
>@@ -553,6 +554,14 @@
>
>  /* read_pc, write_pc, read_sp, write_sp, read_fp, write_fp, etc.
>     Special handling for registers PC, SP, and FP.  */
>+
>+/* NOTE: cagney/2001-02-18: The functions generic_target_read_pc(),
>+   read_pc_pid(), read_pc(), generic_target_write_pc(),
>+   write_pc_pid(), write_pc(), generic_target_read_sp(), read_sp(),
>+   generic_target_write_sp(), write_sp(), generic_target_read_fp(),
>+   read_fp(), generic_target_write_fp(), write_fp will eventually be
>+   moved out of the reg-cache into either frame.[hc] or to the
>+   multi-arch framework.  The are not part of the raw register cache.  */
>
>  /* This routine is getting awfully cluttered with #if's.  It's probably
>     time to turn this into READ_PC and define it in the tm.h file.
>Index: regcache.h
>===================================================================
>RCS file: regcache.h
>diff -N regcache.h
>--- /dev/null   Tue May  5 13:32:27 1998
>+++ regcache.h  Wed Feb 28 07:01:30 2001
>@@ -0,0 +1,71 @@
>+/* Cache and manage the values of registers for GDB, the GNU debugger.
>+   Copyright 1986, 87, 89, 91, 94, 95, 96, 1998, 2000, 2001
>+   Free Software Foundation, Inc.
>+
>+   This file is part of GDB.
>+
>+   This program is free software; you can redistribute it and/or modify
>+   it under the terms of the GNU General Public License as published by
>+   the Free Software Foundation; either version 2 of the License, or
>+   (at your option) any later version.
>+
>+   This program is distributed in the hope that it will be useful,
>+   but WITHOUT ANY WARRANTY; without even the implied warranty of
>+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>+   GNU General Public License for more details.
>+
>+   You should have received a copy of the GNU General Public License
>+   along with this program; if not, write to the Free Software
>+   Foundation, Inc., 59 Temple Place - Suite 330,
>+   Boston, MA 02111-1307, USA.  */
>+
>+#ifndef REGCACHE_H
>+#define REGCACHE_H
>+
>+/* Character array containing an image of the inferior programs'
>+   registers. */
>+
>+extern char *registers;
>+
>+/* Character array containing the current state of each register
>+   (unavailable<0, valid=0, invalid>0). */
>+
>+extern signed char *register_valid;
>+
>+extern int register_cached (int regnum);
>+
>+extern void set_register_cached (int regnum, int state);
>+
>+extern void register_changed (int regnum);
>+
>+extern char *register_buffer (int regnum);
>+
>+extern void registers_changed (void);
>+
>+extern void registers_fetched (void);
>+
>+extern void read_register_bytes (int regbyte, char *myaddr, int len);
>+
>+extern void read_register_gen (int regnum, char *myaddr);
>+
>+extern void write_register_gen (int regnum, char *myaddr);
>+
>+extern void write_register_bytes (int regbyte, char *myaddr, int len);
>+
>+/* Rename to read_unsigned_register()? */
>+extern ULONGEST read_register (int regnum);
>+
>+/* Rename to read_unsigned_register_pid()? */
>+extern ULONGEST read_register_pid (int regnum, int pid);
>+
>+extern LONGEST read_signed_register (int regnum);
>+
>+extern LONGEST read_signed_register_pid (int regnum, int pid);
>+
>+extern void write_register (int regnum, LONGEST val);
>+
>+extern void write_register_pid (int regnum, CORE_ADDR val, int pid);
>+
>+extern void supply_register (int regnum, char *val);
>+
>+#endif /* REGCACHE_H */
>Index: remote-adapt.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-adapt.c,v
>retrieving revision 1.8
>diff -u -r1.8 remote-adapt.c
>--- remote-adapt.c      2001/02/02 19:14:32     1.8
>+++ remote-adapt.c      2001/02/28 15:01:31
>@@ -43,6 +43,7 @@
>  #include "terminal.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  /* This processor is getting rusty but I am trying to keep it
>     up to date at least with data structure changes.
>Index: remote-array.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-array.c,v
>retrieving revision 1.10
>diff -u -r1.10 remote-array.c
>--- remote-array.c      2001/02/02 23:04:14     1.10
>+++ remote-array.c      2001/02/28 15:01:31
>@@ -37,6 +37,7 @@
>  #include "remote-utils.h"
>  #include "inferior.h"
>  #include "version.h"
>+#include "regcache.h"
>
>  extern int baud_rate;
>
>Index: remote-bug.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-bug.c,v
>retrieving revision 1.13
>diff -u -r1.13 remote-bug.c
>--- remote-bug.c        2001/02/25 04:45:11     1.13
>+++ remote-bug.c        2001/02/28 15:01:31
>@@ -24,6 +24,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>  #include <ctype.h>
>  #include <fcntl.h>
>  #include <setjmp.h>
>Index: remote-e7000.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-e7000.c,v
>retrieving revision 1.15
>diff -u -r1.15 remote-e7000.c
>--- remote-e7000.c      2001/02/25 04:45:11     1.15
>+++ remote-e7000.c      2001/02/28 15:01:32
>@@ -45,6 +45,7 @@
>  #include "serial.h"
>  #include "remote-utils.h"
>  #include "symfile.h"
>+#include "regcache.h"
>  #include <time.h>
>  #include <ctype.h>
>
>Index: remote-eb.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-eb.c,v
>retrieving revision 1.8
>diff -u -r1.8 remote-eb.c
>--- remote-eb.c 2001/02/02 19:14:33     1.8
>+++ remote-eb.c 2001/02/28 15:01:32
>@@ -28,6 +28,7 @@
>
>  #include "defs.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #include "inferior.h"
>  #include "bfd.h"
>Index: remote-es.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-es.c,v
>retrieving revision 1.12
>diff -u -r1.12 remote-es.c
>--- remote-es.c 2001/02/25 04:45:11     1.12
>+++ remote-es.c 2001/02/28 15:01:33
>@@ -109,6 +109,7 @@
>  #include "remote-utils.h"
>  #include "gdbcore.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  /* Prototypes for local functions */
>
>Index: remote-est.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-est.c,v
>retrieving revision 1.3
>diff -u -r1.3 remote-est.c
>--- remote-est.c        2000/07/30 01:48:26     1.3
>+++ remote-est.c        2001/02/28 15:01:33
>@@ -1,5 +1,5 @@
>  /* Remote debugging interface for EST-300 ICE, for GDB
>-   Copyright 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>     Contributed by Cygnus Support.
>
>     Written by Steve Chamberlain for Cygnus Support.
>@@ -27,6 +27,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void est_open (char *args, int from_tty);
>
>Index: remote-hms.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-hms.c,v
>retrieving revision 1.3
>diff -u -r1.3 remote-hms.c
>--- remote-hms.c        2000/07/30 01:48:26     1.3
>+++ remote-hms.c        2001/02/28 15:01:33
>@@ -1,5 +1,5 @@
>  /* Remote debugging interface for Hitachi HMS Monitor Version 1.0
>-   Copyright 1995,1999 Free Software Foundation, Inc.
>+   Copyright 1995, 1999, 2001 Free Software Foundation, Inc.
>     Contributed by Cygnus Support.  Written by Steve Chamberlain
>     (sac@cygnus.com).
>
>@@ -25,6 +25,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void hms_open (char *args, int from_tty);
>  static void
>Index: remote-mips.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-mips.c,v
>retrieving revision 1.17
>diff -u -r1.17 remote-mips.c
>--- remote-mips.c       2001/02/25 04:45:11     1.17
>+++ remote-mips.c       2001/02/28 15:01:34
>@@ -30,6 +30,7 @@
>  #include "target.h"
>  #include "remote-utils.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/stat.h>
>Index: remote-mm.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-mm.c,v
>retrieving revision 1.7
>diff -u -r1.7 remote-mm.c
>--- remote-mm.c 2001/02/02 19:14:33     1.7
>+++ remote-mm.c 2001/02/28 15:01:35
>@@ -41,6 +41,7 @@
>  #include "terminal.h"
>  #include "minimon.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  /* Offset of member MEMBER in a struct of type TYPE.  */
>  #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
>Index: remote-nindy.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-nindy.c,v
>retrieving revision 1.12
>diff -u -r1.12 remote-nindy.c
>--- remote-nindy.c      2001/02/02 19:14:33     1.12
>+++ remote-nindy.c      2001/02/28 15:01:35
>@@ -108,6 +108,7 @@
>  #include "gdbcore.h"
>  #include "command.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include <sys/file.h>
>  #include <ctype.h>
>Index: remote-os9k.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-os9k.c,v
>retrieving revision 1.10
>diff -u -r1.10 remote-os9k.c
>--- remote-os9k.c       2001/02/02 23:04:14     1.10
>+++ remote-os9k.c       2001/02/28 15:01:36
>@@ -50,6 +50,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "gdb-stabs.h"
>+#include "regcache.h"
>
>  struct cmd_list_element *showlist;
>  extern struct target_ops rombug_ops;   /* Forward declaration */
>Index: remote-rdi.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-rdi.c,v
>retrieving revision 1.13
>diff -u -r1.13 remote-rdi.c
>--- remote-rdi.c        2001/02/19 11:47:16     1.13
>+++ remote-rdi.c        2001/02/28 15:01:36
>@@ -33,6 +33,7 @@
>  #include "gdbcore.h"
>  #include "breakpoint.h"
>  #include "completer.h"
>+#include "regcache.h"
>
>  #ifdef USG
>  #include <sys/types.h>
>Index: remote-rdp.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-rdp.c,v
>retrieving revision 1.11
>diff -u -r1.11 remote-rdp.c
>--- remote-rdp.c        2001/02/25 04:45:11     1.11
>+++ remote-rdp.c        2001/02/28 15:01:36
>@@ -47,6 +47,7 @@
>  #include "remote-utils.h"
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #ifdef HAVE_TIME_H
>  #include <time.h>
>Index: remote-sds.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-sds.c,v
>retrieving revision 1.12
>diff -u -r1.12 remote-sds.c
>--- remote-sds.c        2001/02/25 04:45:11     1.12
>+++ remote-sds.c        2001/02/28 15:01:37
>@@ -36,6 +36,7 @@
>  #include "gdb-stabs.h"
>  #include "gdbthread.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #ifdef USG
>  #include <sys/types.h>
>Index: remote-sim.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-sim.c,v
>retrieving revision 1.12
>diff -u -r1.12 remote-sim.c
>--- remote-sim.c        2001/02/08 06:03:53     1.12
>+++ remote-sim.c        2001/02/28 15:01:37
>@@ -36,6 +36,7 @@
>  #include "remote-sim.h"
>  #include "remote-utils.h"
>  #include "command.h"
>+#include "regcache.h"
>
>  /* Prototypes */
>
>Index: remote-st.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-st.c,v
>retrieving revision 1.8
>diff -u -r1.8 remote-st.c
>--- remote-st.c 2001/02/02 23:04:14     1.8
>+++ remote-st.c 2001/02/28 15:01:37
>@@ -41,6 +41,7 @@
>  #include "gdb_string.h"
>  #include <sys/types.h>
>  #include "serial.h"
>+#include "regcache.h"
>
>  extern struct target_ops st2000_ops;   /* Forward declaration */
>
>Index: remote-udi.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-udi.c,v
>retrieving revision 1.12
>diff -u -r1.12 remote-udi.c
>--- remote-udi.c        2001/02/02 23:04:14     1.12
>+++ remote-udi.c        2001/02/28 15:01:37
>@@ -46,6 +46,7 @@
>  #include "gdbcmd.h"
>  #include "bfd.h"
>  #include "gdbcore.h"           /* For download function */
>+#include "regcache.h"
>
>  /* access the register store directly, without going through
>     the normal handler functions. This avoids an extra data copy.  */
>Index: remote-utils.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-utils.c,v
>retrieving revision 1.9
>diff -u -r1.9 remote-utils.c
>--- remote-utils.c      2000/11/03 22:00:56     1.9
>+++ remote-utils.c      2001/02/28 15:01:38
>@@ -1,6 +1,6 @@
>  /* Generic support for remote debugging interfaces.
>
>-   Copyright 1993, 1994, 1998 Free Software Foundation, Inc.
>+   Copyright 1993, 1994, 1998, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -50,6 +50,7 @@
>  #include "gdbcore.h"           /* for exec_bfd */
>  #include "inferior.h"          /* for generic_mourn_inferior */
>  #include "remote-utils.h"
>+#include "regcache.h"
>
>
>  void _initialize_sr_support (void);
>Index: remote-vx.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vx.c,v
>retrieving revision 1.14
>diff -u -r1.14 remote-vx.c
>--- remote-vx.c 2001/02/08 06:03:53     1.14
>+++ remote-vx.c 2001/02/28 15:01:38
>@@ -32,6 +32,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "gdb-stabs.h"
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote-vx29k.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vx29k.c,v
>retrieving revision 1.6
>diff -u -r1.6 remote-vx29k.c
>--- remote-vx29k.c      2001/02/02 23:04:14     1.6
>+++ remote-vx29k.c      2001/02/28 15:01:38
>@@ -30,6 +30,7 @@
>  #include "command.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for struct complaint */
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote-vx68.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vx68.c,v
>retrieving revision 1.5
>diff -u -r1.5 remote-vx68.c
>--- remote-vx68.c       2001/02/02 23:04:14     1.5
>+++ remote-vx68.c       2001/02/28 15:01:38
>@@ -31,6 +31,7 @@
>  #include "command.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for struct complaint */
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote-vx960.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vx960.c,v
>retrieving revision 1.5
>diff -u -r1.5 remote-vx960.c
>--- remote-vx960.c      2001/02/02 23:04:14     1.5
>+++ remote-vx960.c      2001/02/28 15:01:38
>@@ -31,6 +31,7 @@
>  #include "command.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for struct complaint */
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote-vxmips.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vxmips.c,v
>retrieving revision 1.5
>diff -u -r1.5 remote-vxmips.c
>--- remote-vxmips.c     2001/02/02 23:04:14     1.5
>+++ remote-vxmips.c     2001/02/28 15:01:38
>@@ -31,6 +31,7 @@
>  #include "command.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for struct complaint */
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote-vxsparc.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote-vxsparc.c,v
>retrieving revision 1.5
>diff -u -r1.5 remote-vxsparc.c
>--- remote-vxsparc.c    2001/02/02 23:04:14     1.5
>+++ remote-vxsparc.c    2001/02/28 15:01:38
>@@ -31,6 +31,7 @@
>  #include "command.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for struct complaint */
>+#include "regcache.h"
>
>  #include "gdb_string.h"
>  #include <errno.h>
>Index: remote.c
>===================================================================
>RCS file: /cvs/src/src/gdb/remote.c,v
>retrieving revision 1.39
>diff -u -r1.39 remote.c
>--- remote.c    2001/02/16 23:40:39     1.39
>+++ remote.c    2001/02/28 15:01:40
>@@ -35,6 +35,7 @@
>  #include "gdb-stabs.h"
>  #include "gdbthread.h"
>  #include "remote.h"
>+#include "regcache.h"
>
>  #include <ctype.h>
>  #include <sys/time.h>
>Index: rom68k-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/rom68k-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 rom68k-rom.c
>--- rom68k-rom.c        2000/07/30 01:48:27     1.3
>+++ rom68k-rom.c        2001/02/28 15:01:40
>@@ -1,5 +1,6 @@
>  /* Remote target glue for the ROM68K ROM monitor.
>-   Copyright 1988, 1991, 1992, 1993, 1994, 1995 Free Software Foundation, 
>Inc.
>+   Copyright 1988, 1991, 1992, 1993, 1994, 1995, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -23,6 +24,7 @@
>  #include "target.h"
>  #include "monitor.h"
>  #include "serial.h"
>+#include "regcache.h"
>
>  static void rom68k_open (char *args, int from_tty);
>
>Index: rs6000-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/rs6000-nat.c,v
>retrieving revision 1.14
>diff -u -r1.14 rs6000-nat.c
>--- rs6000-nat.c        2001/02/10 11:05:39     1.14
>+++ rs6000-nat.c        2001/02/28 15:01:41
>@@ -30,6 +30,7 @@
>  #include "libbfd.h"            /* For bfd_cache_lookup (FIXME) */
>  #include "bfd.h"
>  #include "gdb-stabs.h"
>+#include "regcache.h"
>
>  #include <sys/ptrace.h>
>  #include <sys/reg.h>
>Index: rs6000-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
>retrieving revision 1.18
>diff -u -r1.18 rs6000-tdep.c
>--- rs6000-tdep.c       2001/02/08 06:03:53     1.18
>+++ rs6000-tdep.c       2001/02/28 15:01:41
>@@ -30,6 +30,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  #include "bfd/libbfd.h"                /* for bfd_default_set_arch_mach */
>  #include "coff/internal.h"     /* for libcoff.h */
>Index: sh-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sh-tdep.c,v
>retrieving revision 1.30
>diff -u -r1.30 sh-tdep.c
>--- sh-tdep.c   2001/02/08 06:03:53     1.30
>+++ sh-tdep.c   2001/02/28 15:01:42
>@@ -38,6 +38,7 @@
>  #include "gdb_string.h"
>  #include "arch-utils.h"
>  #include "floatformat.h"
>+#include "regcache.h"
>
>  #include "solib-svr4.h"
>
>Index: sh3-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sh3-rom.c,v
>retrieving revision 1.6
>diff -u -r1.6 sh3-rom.c
>--- sh3-rom.c   2001/01/31 01:24:01     1.6
>+++ sh3-rom.c   2001/02/28 15:01:42
>@@ -25,6 +25,7 @@
>  #include "serial.h"
>  #include "srec.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>  static serial_t parallel;
>  static int parallel_in_use;
>Index: sol-thread.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sol-thread.c,v
>retrieving revision 1.22
>diff -u -r1.22 sol-thread.c
>--- sol-thread.c        2001/02/07 03:44:24     1.22
>+++ sol-thread.c        2001/02/28 15:01:43
>@@ -1,5 +1,6 @@
>  /* Low level interface for debugging Solaris threads for GDB, the GNU 
> debugger.
>-   Copyright 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
>+   Copyright 1996, 1997, 1998, 2000, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -58,6 +59,7 @@
>  #include <dlfcn.h>
>  #include "gdbcmd.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  extern struct target_ops sol_thread_ops;       /* Forward declaration */
>  extern struct target_ops sol_core_ops; /* Forward declaration */
>Index: solib-svr4.c
>===================================================================
>RCS file: /cvs/src/src/gdb/solib-svr4.c,v
>retrieving revision 1.10
>diff -u -r1.10 solib-svr4.c
>--- solib-svr4.c        2001/02/22 03:01:27     1.10
>+++ solib-svr4.c        2001/02/28 15:01:44
>@@ -21,6 +21,7 @@
>
>  #define _SYSCALL32     /* for Sparc64 cross Sparc32 */
>  #include "defs.h"
>+#include "regcache.h"
>
>
>  #include <sys/types.h>
>Index: somsolib.c
>===================================================================
>RCS file: /cvs/src/src/gdb/somsolib.c,v
>retrieving revision 1.8
>diff -u -r1.8 somsolib.c
>--- somsolib.c  2001/02/16 18:03:22     1.8
>+++ somsolib.c  2001/02/28 15:01:44
>@@ -39,6 +39,7 @@
>  #include "gdbcmd.h"
>  #include "assert.h"
>  #include "language.h"
>+#include "regcache.h"
>
>  #include <fcntl.h>
>
>Index: sparc-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sparc-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 sparc-nat.c
>--- sparc-nat.c 2001/02/25 04:45:11     1.5
>+++ sparc-nat.c 2001/02/28 15:01:44
>@@ -1,5 +1,6 @@
>  /* Functions specific to running gdb native on a SPARC running SunOS4.
>-   Copyright 1989, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.
>+   Copyright 1989, 1992, 1993, 1994, 1996, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -22,6 +23,8 @@
>  #include "inferior.h"
>  #include "target.h"
>  #include "gdbcore.h"
>+#include "sparc-nat.c"
>+#include "regcache.h"
>
>  #include <signal.h>
>  #include <sys/ptrace.h>
>Index: sparc-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
>retrieving revision 1.13
>diff -u -r1.13 sparc-tdep.c
>--- sparc-tdep.c        2001/02/08 06:03:53     1.13
>+++ sparc-tdep.c        2001/02/28 15:01:45
>@@ -30,6 +30,7 @@
>  #include "value.h"
>  #include "bfd.h"
>  #include "gdb_string.h"
>+#include "regcache.h"
>
>  #ifdef USE_PROC_FS
>  #include <sys/procfs.h>
>Index: sparcl-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sparcl-tdep.c,v
>retrieving revision 1.10
>diff -u -r1.10 sparcl-tdep.c
>--- sparcl-tdep.c       2001/02/25 04:45:11     1.10
>+++ sparcl-tdep.c       2001/02/28 15:01:46
>@@ -23,6 +23,7 @@
>  #include "breakpoint.h"
>  #include "target.h"
>  #include "serial.h"
>+#include "regcache.h"
>  #include <sys/types.h>
>
>  #if (!defined(__GO32__) && !defined(_WIN32)) || defined(__CYGWIN32__)
>Index: sparclet-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sparclet-rom.c,v
>retrieving revision 1.4
>diff -u -r1.4 sparclet-rom.c
>--- sparclet-rom.c      2000/07/30 01:48:27     1.4
>+++ sparclet-rom.c      2001/02/28 15:01:46
>@@ -1,5 +1,5 @@
>  /* Remote target glue for the SPARC Sparclet ROM monitor.
>-   Copyright 1995, 1996 Free Software Foundation, Inc.
>+   Copyright 1995, 1996, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -27,6 +27,7 @@
>  #include "srec.h"
>  #include "symtab.h"
>  #include "symfile.h"           /* for generic_load */
>+#include "regcache.h"
>  #include <time.h>
>
>  extern void report_transfer_performance (unsigned long, time_t, time_t);
>Index: sun3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sun3-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 sun3-nat.c
>--- sun3-nat.c  2000/10/27 01:25:10     1.5
>+++ sun3-nat.c  2001/02/28 15:01:46
>@@ -1,5 +1,6 @@
>  /* Host-dependent code for Sun-3 for GDB, the GNU debugger.
>-   Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1991, 1992, 2001 Free Software
>+   Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/ptrace.h>
>  #define KERNEL                 /* To get floating point reg definitions */
>Index: sun386-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/sun386-nat.c,v
>retrieving revision 1.3
>diff -u -r1.3 sun386-nat.c
>--- sun386-nat.c        2000/12/15 01:01:50     1.3
>+++ sun386-nat.c        2001/02/28 15:01:46
>@@ -1,5 +1,6 @@
>  /* Native support for Sun 386i's for GDB, the GNU debugger.
>-   Copyright (C) 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1991, 1992, 2001 Free Software
>+   Foundation, Inc.
>     Changes for sun386i by Jean Daniel Fekete (jdf@litp.univ-p6-7.fr),
>     C2V Paris, April 89.
>
>@@ -24,6 +25,7 @@
>  #include "frame.h"
>  #include "inferior.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include <sys/param.h>
>  #include <sys/dir.h>
>Index: symm-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/symm-nat.c,v
>retrieving revision 1.5
>diff -u -r1.5 symm-nat.c
>--- symm-nat.c  2001/02/08 06:03:53     1.5
>+++ symm-nat.c  2001/02/28 15:01:46
>@@ -27,6 +27,7 @@
>  #include "inferior.h"
>  #include "symtab.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  /* FIXME: What is the _INKERNEL define for?  */
>  #define _INKERNEL
>Index: target.c
>===================================================================
>RCS file: /cvs/src/src/gdb/target.c,v
>retrieving revision 1.20
>diff -u -r1.20 target.c
>--- target.c    2001/02/25 04:45:11     1.20
>+++ target.c    2001/02/28 15:01:47
>@@ -33,6 +33,7 @@
>  #include "gdb_wait.h"
>  #include "dcache.h"
>  #include <signal.h>
>+#include "regcache.h"
>
>  extern int errno;
>
>Index: thread-db.c
>===================================================================
>RCS file: /cvs/src/src/gdb/thread-db.c,v
>retrieving revision 1.4
>diff -u -r1.4 thread-db.c
>--- thread-db.c 2001/01/24 00:26:46     1.4
>+++ thread-db.c 2001/02/28 15:01:48
>@@ -1,5 +1,5 @@
>  /* libthread_db assisted debugging support, generic parts.
>-   Copyright 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -31,6 +31,7 @@
>  #include "symfile.h"
>  #include "objfiles.h"
>  #include "target.h"
>+#include "regcache.h"
>
>  #ifndef LIBTHREAD_DB_SO
>  #define LIBTHREAD_DB_SO "libthread_db.so.1"
>Index: thread.c
>===================================================================
>RCS file: /cvs/src/src/gdb/thread.c,v
>retrieving revision 1.10
>diff -u -r1.10 thread.c
>--- thread.c    2001/01/26 19:47:19     1.10
>+++ thread.c    2001/02/28 15:01:48
>@@ -31,6 +31,7 @@
>  #include "gdbthread.h"
>  #include "command.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  #include <ctype.h>
>  #include <sys/types.h>
>Index: tic80-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/tic80-tdep.c,v
>retrieving revision 1.2
>diff -u -r1.2 tic80-tdep.c
>--- tic80-tdep.c        2000/07/30 01:48:27     1.2
>+++ tic80-tdep.c        2001/02/28 15:01:48
>@@ -1,5 +1,5 @@
>  /* Target-dependent code for the TI TMS320C80 (MVP) for GDB, the GNU 
> debugger.
>-   Copyright 1996, Free Software Foundation, Inc.
>+   Copyright 1996, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -28,6 +28,7 @@
>  #include "gdb_string.h"
>  #include "gdbcore.h"
>  #include "symfile.h"
>+#include "regcache.h"
>
>  /* Function: frame_find_saved_regs
>     Return the frame_saved_regs structure for the frame.
>Index: tracepoint.c
>===================================================================
>RCS file: /cvs/src/src/gdb/tracepoint.c,v
>retrieving revision 1.16
>diff -u -r1.16 tracepoint.c
>--- tracepoint.c        2001/02/19 11:47:16     1.16
>+++ tracepoint.c        2001/02/28 15:01:49
>@@ -1,5 +1,5 @@
>  /* Tracing functionality for remote targets in custom GDB protocol
>-   Copyright 1997, 1998 Free Software Foundation, Inc.
>+   Copyright 1997, 1998, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -33,6 +33,7 @@
>  #include "remote.h"
>  #include "linespec.h"
>  #include "completer.h"
>+#include "regcache.h"
>
>  #include "ax.h"
>  #include "ax-gdb.h"
>Index: ultra3-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/ultra3-nat.c,v
>retrieving revision 1.4
>diff -u -r1.4 ultra3-nat.c
>--- ultra3-nat.c        2000/11/02 03:18:49     1.4
>+++ ultra3-nat.c        2001/02/28 15:01:49
>@@ -1,5 +1,6 @@
>  /* Native-dependent code for GDB, for NYU Ultra3 running Sym1 OS.
>-   Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
>+   Copyright 1988, 1989, 1991, 1992, 2001 Free Software Foundation,
>+   Inc.
>     Contributed by David Wood (wood@nyu.edu) at New York University.
>
>     This file is part of GDB.
>@@ -25,6 +26,7 @@
>  #include "inferior.h"
>  #include "symtab.h"
>  #include "value.h"
>+#include "regcache.h"
>
>  #include <sys/types.h>
>  #include <sys/param.h>
>Index: umax-xdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/umax-xdep.c,v
>retrieving revision 1.3
>diff -u -r1.3 umax-xdep.c
>--- umax-xdep.c 2000/12/15 01:01:50     1.3
>+++ umax-xdep.c 2001/02/28 15:01:49
>@@ -1,5 +1,6 @@
>  /* umax host stuff.
>-   Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
>+   Copyright 1986, 1987, 1989, 1991, 2001 Free Software Foundation,
>+   Inc.
>
>     This file is part of GDB.
>
>@@ -21,6 +22,7 @@
>  #include "defs.h"
>  #include "frame.h"
>  #include "inferior.h"
>+#include "regcache.h"
>
>  #include <sys/param.h>
>  #include <sys/dir.h>
>Index: uw-thread.c
>===================================================================
>RCS file: /cvs/src/src/gdb/uw-thread.c,v
>retrieving revision 1.4
>diff -u -r1.4 uw-thread.c
>--- uw-thread.c 2000/05/26 23:22:41     1.4
>+++ uw-thread.c 2001/02/28 15:01:49
>@@ -1,7 +1,7 @@
>  /* Low level interface for debugging UnixWare user-mode threads for
>     GDB, the GNU debugger.
>
>-   Copyright 1999, 2000 Free Software Foundation, Inc.
>+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
>     Written by Nick Duffek <nsd@cygnus.com>.
>
>     This file is part of GDB.
>@@ -101,6 +101,7 @@
>  #include "gdbthread.h"
>  #include "target.h"
>  #include "inferior.h"
>+#include "regcache.h"
>  #include <fcntl.h>
>
>  /* <thread.h> includes <sys/priocntl.h>, which requires boolean_t from
>Index: v850-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/v850-tdep.c,v
>retrieving revision 1.7
>diff -u -r1.7 v850-tdep.c
>--- v850-tdep.c 2001/02/08 06:03:54     1.7
>+++ v850-tdep.c 2001/02/28 15:01:50
>@@ -29,6 +29,7 @@
>  #include "gdbcore.h"
>  #include "symfile.h"
>  #include "arch-utils.h"
>+#include "regcache.h"
>
>
>  static char *v850_generic_reg_names[] = REGISTER_NAMES;
>Index: v850ice.c
>===================================================================
>RCS file: /cvs/src/src/gdb/v850ice.c,v
>retrieving revision 1.7
>diff -u -r1.7 v850ice.c
>--- v850ice.c   2001/01/27 00:43:26     1.7
>+++ v850ice.c   2001/02/28 15:01:50
>@@ -1,5 +1,5 @@
>  /* ICE interface for the NEC V850 for GDB, the GNU debugger.
>-   Copyright 1996, 2000 Free Software Foundation, Inc.
>+   Copyright 1996, 2000, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -30,6 +30,7 @@
>  #include "gdbcore.h"
>  #include "value.h"
>  #include "command.h"
>+#include "regcache.h"
>
>  #include <tcl.h>
>  #include <windows.h>
>Index: valops.c
>===================================================================
>RCS file: /cvs/src/src/gdb/valops.c,v
>retrieving revision 1.31
>diff -u -r1.31 valops.c
>--- valops.c    2001/02/06 20:05:41     1.31
>+++ valops.c    2001/02/28 15:01:52
>@@ -1,6 +1,6 @@
>  /* Perform non-arithmetic operations on values, for GDB.
>-   Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 1998
>-   Free Software Foundation, Inc.
>+   Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 1998, 2001 Free
>+   Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -30,6 +30,7 @@
>  #include "demangle.h"
>  #include "language.h"
>  #include "gdbcmd.h"
>+#include "regcache.h"
>
>  #include <errno.h>
>  #include "gdb_string.h"
>Index: value.h
>===================================================================
>RCS file: /cvs/src/src/gdb/value.h,v
>retrieving revision 1.15
>diff -u -r1.15 value.h
>--- value.h     2001/02/22 16:48:19     1.15
>+++ value.h     2001/02/28 15:01:52
>@@ -465,40 +465,6 @@
>
>  extern int record_latest_value (value_ptr val);
>
>-extern void registers_changed (void);
>-
>-extern void read_register_bytes (int regbyte, char *myaddr, int len);
>-
>-extern void write_register_bytes (int regbyte, char *myaddr, int len);
>-
>-extern void read_register_gen (int regnum, char *myaddr);
>-
>-extern void write_register_gen (int regnum, char *myaddr);
>-
>-/* Rename to read_unsigned_register()? */
>-extern ULONGEST read_register (int regnum);
>-
>-extern LONGEST read_signed_register (int regnum);
>-
>-/* Rename to read_unsigned_register_pid()? */
>-extern ULONGEST read_register_pid (int regnum, int pid);
>-
>-extern LONGEST read_signed_register_pid (int regnum, int pid);
>-
>-extern void write_register (int regnum, LONGEST val);
>-
>-extern void write_register_pid (int regnum, CORE_ADDR val, int pid);
>-
>-extern void supply_register (int regnum, char *val);
>-
>-extern int register_cached (int regnum);
>-
>-extern void set_register_cached (int regnum, int state);
>-
>-extern void register_changed (int regnum);
>-
>-extern char *register_buffer (int regnum);
>-
>  extern void
>  modify_field (char *addr, LONGEST fieldval, int bitpos, int bitsize);
>
>Index: w65-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/w65-tdep.c,v
>retrieving revision 1.3
>diff -u -r1.3 w65-tdep.c
>--- w65-tdep.c  2001/02/25 04:45:11     1.3
>+++ w65-tdep.c  2001/02/28 15:01:53
>@@ -1,5 +1,5 @@
>  /* Target-machine dependent code for WDC-65816, for GDB.
>-   Copyright (C) 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -31,6 +31,7 @@
>  #include "gdbtypes.h"
>  #include "dis-asm.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  /* Return the saved PC from this frame. */
>
>Index: w89k-rom.c
>===================================================================
>RCS file: /cvs/src/src/gdb/w89k-rom.c,v
>retrieving revision 1.3
>diff -u -r1.3 w89k-rom.c
>--- w89k-rom.c  2000/07/30 01:48:28     1.3
>+++ w89k-rom.c  2001/02/28 15:01:53
>@@ -1,7 +1,7 @@
>  /* Remote target glue for the WinBond ROM monitor running on the "Cougar"
>     W89k eval board.
>
>-   Copyright 1995 Free Software Foundation, Inc.
>+   Copyright 1995, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -26,6 +26,7 @@
>  #include "monitor.h"
>  #include "serial.h"
>  #include "xmodem.h"
>+#include "regcache.h"
>
>
>  static void w89k_open (char *args, int from_tty);
>Index: win32-nat.c
>===================================================================
>RCS file: /cvs/src/src/gdb/win32-nat.c,v
>retrieving revision 1.23
>diff -u -r1.23 win32-nat.c
>--- win32-nat.c 2001/02/19 11:47:16     1.23
>+++ win32-nat.c 2001/02/28 15:01:53
>@@ -1,5 +1,6 @@
>  /* Target-vector operations for controlling win32 child processes, for GDB.
>-   Copyright 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, 
>Inc.
>+   Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software
>+   Foundation, Inc.
>     Contributed by Cygnus Solutions, A Red Hat Company.
>
>     This file is part of GDB.
>@@ -17,8 +18,7 @@
>     You should have received a copy of the GNU General Public License
>     along with this program; if not, write to the Free Software
>     Foundation, Inc., 59 Temple Place - Suite 330,
>-   Boston, MA 02111-1307, USA.
>- */
>+   Boston, MA 02111-1307, USA.  */
>
>  /* by Steve Chamberlain, sac@cygnus.com */
>
>@@ -31,6 +31,7 @@
>  #include "gdbcore.h"
>  #include "command.h"
>  #include "completer.h"
>+#include "regcache.h"
>  #include <signal.h>
>  #include <sys/types.h>
>  #include <fcntl.h>
>Index: wince.c
>===================================================================
>RCS file: /cvs/src/src/gdb/wince.c,v
>retrieving revision 1.12
>diff -u -r1.12 wince.c
>--- wince.c     2001/01/23 22:48:56     1.12
>+++ wince.c     2001/02/28 15:01:55
>@@ -55,6 +55,7 @@
>  #include <sys/param.h>
>  #include "wince-stub.h"
>  #include <time.h>
>+#include "regcache.h"
>
>  /* The ui's event loop. */
>  extern int (*ui_loop_hook) (int signo);
>Index: z8k-tdep.c
>===================================================================
>RCS file: /cvs/src/src/gdb/z8k-tdep.c,v
>retrieving revision 1.4
>diff -u -r1.4 z8k-tdep.c
>--- z8k-tdep.c  2001/02/25 04:45:11     1.4
>+++ z8k-tdep.c  2001/02/28 15:01:55
>@@ -1,5 +1,5 @@
>  /* Target-machine dependent code for Zilog Z8000, for GDB.
>-   Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
>+   Copyright (C) 1992, 1993, 1994, 2001 Free Software Foundation, Inc.
>
>     This file is part of GDB.
>
>@@ -31,6 +31,7 @@
>  #include "gdbtypes.h"
>  #include "dis-asm.h"
>  #include "gdbcore.h"
>+#include "regcache.h"
>
>  #include "value.h" /* For read_register() */
>
>Index: mi/mi-main.c
>===================================================================
>RCS file: /cvs/src/src/gdb/mi/mi-main.c,v
>retrieving revision 1.9
>diff -u -r1.9 mi-main.c
>--- mi-main.c   2000/12/15 01:01:51     1.9
>+++ mi-main.c   2001/02/28 15:01:56
>@@ -1,5 +1,5 @@
>  /* MI Command Set.
>-   Copyright (C) 2000, Free Software Foundation, Inc.
>+   Copyright 2000, 2001 Free Software Foundation, Inc.
>     Contributed by Cygnus Solutions (a Red Hat company).
>
>     This file is part of GDB.
>@@ -37,6 +37,7 @@
>  #include "event-top.h"
>  #include "gdbcore.h"           /* for write_memory() */
>  #include "value.h"             /* for write_register_bytes() */
>+#include "regcache.h"
>  #include <ctype.h>
>  #include <sys/time.h>
>

Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]