diff options
author | John Gilmore <gnu@cygnus> | 1992-02-22 01:46:16 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-02-22 01:46:16 +0000 |
commit | 1ab3bf1b148d31aad66735f52f9ff72af8769cd0 (patch) | |
tree | f599e61700fc54d6ecd3d090e3d01cf6fa66a801 /gdb/rs6000-xdep.c | |
parent | 8e48d87af60233cc7e8dc18ab4e8f63d223ac20f (diff) | |
download | gdb-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/rs6000-xdep.c')
-rw-r--r-- | gdb/rs6000-xdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/rs6000-xdep.c b/gdb/rs6000-xdep.c index c82c0b7..557ecb1 100644 --- a/gdb/rs6000-xdep.c +++ b/gdb/rs6000-xdep.c @@ -60,7 +60,8 @@ static int special_regs[] = { extern int one_stepped; -fetch_inferior_registers () +fetch_inferior_registers (regno) + int regno; { int ii; extern char registers[]; @@ -87,6 +88,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; { @@ -156,16 +158,15 @@ store_inferior_registers (regno) if ( errno ) { perror ("ptrace write"); errno = 0; - return -1; } - return 0; } void -fetch_core_registers (core_reg_sect, core_reg_size, which) +fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) char *core_reg_sect; unsigned core_reg_size; int which; + unsigned int reg_addr; /* Unused in this version */ { /* fetch GPRs and special registers from the first register section in core bfd. */ @@ -230,7 +231,6 @@ unsigned int pid; { #define MAX_LOAD_SEGS 64 /* maximum number of load segments */ - extern int compare_misc_functions (); struct ld_info *ldi; int temp; @@ -256,7 +256,7 @@ unsigned int pid; && (ldi = (void *) (ldi->ldinfo_next + (char *) ldi))); /* Now that we've jumbled things around, re-sort them. */ - sort_misc_function_vector (); + sort_minimal_symbols (); /* relocate the exec and core sections as well. */ vmap_exec (); |