aboutsummaryrefslogtreecommitdiff
path: root/gdb/pyr-xdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-22 01:46:16 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-22 01:46:16 +0000
commit1ab3bf1b148d31aad66735f52f9ff72af8769cd0 (patch)
treef599e61700fc54d6ecd3d090e3d01cf6fa66a801 /gdb/pyr-xdep.c
parent8e48d87af60233cc7e8dc18ab4e8f63d223ac20f (diff)
downloadgdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.zip
gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.gz
gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.bz2
* Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
Diffstat (limited to 'gdb/pyr-xdep.c')
-rw-r--r--gdb/pyr-xdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/pyr-xdep.c b/gdb/pyr-xdep.c
index 4aa8489..bfe7b5e 100644
--- a/gdb/pyr-xdep.c
+++ b/gdb/pyr-xdep.c
@@ -32,11 +32,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/user.h> /* After a.out.h */
#include <sys/file.h>
#include <sys/stat.h>
+
void
-fetch_inferior_registers ()
+fetch_inferior_registers (regno)
+ int regno;
{
- register int regno, datum;
+ register int datum;
register unsigned int regaddr;
int reg_buf[NUM_REGS+1];
struct user u;
@@ -124,6 +126,7 @@ fetch_inferior_registers ()
If REGNO is -1, do this for all registers.
Otherwise, REGNO specifies which register (so we can save time). */
+void
store_inferior_registers (regno)
int regno;
{