Create new file regcache.h. Update all uses.

This commit is contained in:
Andrew Cagney 2001-03-01 01:39:22 +00:00
parent 0cff82d9a9
commit 4e052eda91
153 changed files with 527 additions and 143 deletions

View File

@ -1,3 +1,175 @@
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.
2001-02-28 Matt Hiller <hiller@redhat.com>
* MAINTAINERS: Add Matt Hiller to Write After Approval list.

View File

@ -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.

View File

@ -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

View File

@ -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. */

View File

@ -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>

View File

@ -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. */

View File

@ -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>

View File

@ -26,6 +26,7 @@
#include "floatformat.h"
#include "symtab.h"
#include "gdbcmd.h"
#include "regcache.h"
/* Local functions */

View File

@ -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>

View File

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

View File

@ -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.

View File

@ -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. */

View File

@ -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

View File

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

View File

@ -35,6 +35,7 @@
#include "target.h"
#include "gdbcore.h"
#include "gdbthread.h"
#include "regcache.h"
#ifndef O_BINARY
#define O_BINARY 0

View File

@ -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);

View File

@ -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

View File

@ -35,6 +35,7 @@
#include "objfiles.h"
#include "language.h"
#include "arch-utils.h"
#include "regcache.h"
#include "floatformat.h"
#include "sim-d10v.h"

View File

@ -33,6 +33,7 @@
#include "dis-asm.h"
#include "symfile.h"
#include "objfiles.h"
#include "regcache.h"
#include "language.h" /* For local_hex_string() */

View File

@ -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);

View File

@ -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);

View File

@ -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. */

View File

@ -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

View File

@ -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. */

View File

@ -24,6 +24,7 @@
#include "target.h"
#include "value.h"
#include "inferior.h" /* for inferior_pid */
#include "regcache.h"
/* FIND_SAVED_REGISTER ()

View File

@ -108,8 +108,6 @@ extern void validate_files (void);
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

View File

@ -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>

View File

@ -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;

View File

@ -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)

View File

@ -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

View File

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

View File

@ -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.

View File

@ -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;

View File

@ -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>

View File

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

View File

@ -21,6 +21,7 @@
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include <sys/ptrace.h>
#include <sys/user.h>

View File

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

View File

@ -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);

View File

@ -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>

View File

@ -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)

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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))

View File

@ -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>

View File

@ -21,6 +21,7 @@
#include "defs.h"
#include "inferior.h"
#include "value.h"
#include "regcache.h"
#include "i387-nat.h"

View File

@ -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

View File

@ -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);

View File

@ -22,6 +22,7 @@
#include "inferior.h"
#include "target.h"
#include "gdbcore.h"
#include "regcache.h"
#include <sys/procfs.h>
#include "symtab.h"

View File

@ -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>

View File

@ -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 */

View File

@ -111,16 +111,6 @@ extern int inferior_ignoring_leading_exec_events;
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);

View File

@ -24,6 +24,7 @@
#include "inferior.h"
#include "target.h"
#include "gdb_string.h"
#include "regcache.h"
#include "gdb_wait.h"

View File

@ -35,6 +35,7 @@
#include "top.h"
#include <signal.h>
#include "inf-loop.h"
#include "regcache.h"
/* Prototypes for local functions */

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

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

View File

@ -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>

View File

@ -57,6 +57,7 @@
#include "gdb_wait.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "regcache.h"
#if 0
#include <servers/machid_lib.h>

View File

@ -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);

View File

@ -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

View File

@ -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 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "symfile.h"
#include "objfiles.h"
#include "arch-utils.h"
#include "regcache.h"
#include "target.h"
#include "opcode/m68hc11.h"

View File

@ -26,6 +26,7 @@
#include "value.h"
#include "gdb_string.h"
#include "inferior.h"
#include "regcache.h"
#define P_LINKL_FP 0x480e

View File

@ -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>

View File

@ -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)

View File

@ -21,6 +21,7 @@
#include "defs.h"
#include "gdbtypes.h"
#include "regcache.h"
int
m68knbsd_use_struct_convention (int gcc_p, struct type *type)

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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. */

View File

@ -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 */

View File

@ -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>

View File

@ -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>

View File

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

View File

@ -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>

View File

@ -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>

View File

@ -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? */

View File

@ -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,

View File

@ -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;

View File

@ -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>

View File

@ -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))

View File

@ -34,6 +34,7 @@
#include <signal.h>
#include "serial.h"
#include "ocd.h"
#include "regcache.h"
/* Prototypes for local functions */

View File

@ -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>

View File

@ -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);

View File

@ -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>

View File

@ -1,6 +1,7 @@
/* 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.
@ -28,6 +29,7 @@
#include "gdbcmd.h"
#include "symfile.h"
#include "objfiles.h"
#include "regcache.h"
#include "ppc-tdep.h"

View File

@ -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)

View File

@ -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))

View File

@ -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>

View File

@ -25,6 +25,7 @@
#include "target.h"
#include "gdbarch.h"
#include "gdbcmd.h"
#include "regcache.h"
/*
* DATA STRUCTURE
@ -554,6 +555,14 @@ supply_register (int regnum, char *val)
/* 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.
Ditto for write_pc.

71
gdb/regcache.h Normal file
View File

@ -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 */

View File

@ -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.

View File

@ -37,6 +37,7 @@
#include "remote-utils.h"
#include "inferior.h"
#include "version.h"
#include "regcache.h"
extern int baud_rate;

View File

@ -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>

View File

@ -45,6 +45,7 @@
#include "serial.h"
#include "remote-utils.h"
#include "symfile.h"
#include "regcache.h"
#include <time.h>
#include <ctype.h>

View File

@ -28,6 +28,7 @@
#include "defs.h"
#include "gdb_string.h"
#include "regcache.h"
#include "inferior.h"
#include "bfd.h"

View File

@ -109,6 +109,7 @@
#include "remote-utils.h"
#include "gdbcore.h"
#include "serial.h"
#include "regcache.h"
/* Prototypes for local functions */

Some files were not shown because too many files have changed in this diff Show More