diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-05 22:46:57 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-05 22:46:57 +0000 |
commit | 165a58fe68c763922f368dd66b34585d6df4b46a (patch) | |
tree | 7dc70f1c78c4f73a68bc6f5950d90e6ce81c3a65 /gdb | |
parent | 07e90ad5b74f7279fd3eca734b1c4594b430f794 (diff) | |
download | fsf-binutils-gdb-165a58fe68c763922f368dd66b34585d6df4b46a.zip fsf-binutils-gdb-165a58fe68c763922f368dd66b34585d6df4b46a.tar.gz fsf-binutils-gdb-165a58fe68c763922f368dd66b34585d6df4b46a.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hpux-thread.c | 8 | ||||
-rw-r--r-- | gdb/i386aix-nat.c | 19 |
3 files changed, 21 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 583bf6b..4c585f3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-05 Kevin Buettner <kevinb@redhat.com> + + * i386aix-nat.c (fetch_core_registers): Protoize. + * hpux-thread.c (hpux_thread_xfer_memory): Protoize. + 2000-09-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> * m68hc11-tdep.c (m68hc11_frame_chain): Check for pc in call dummy. diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c index 940ba9a..af456f1 100644 --- a/gdb/hpux-thread.c +++ b/gdb/hpux-thread.c @@ -433,12 +433,8 @@ hpux_thread_prepare_to_store (void) } static int -hpux_thread_xfer_memory (memaddr, myaddr, len, dowrite, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int dowrite; - struct target_ops *target; /* ignored */ +hpux_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, + int dowrite, struct target_ops *target) { int retval; struct cleanup *old_chain; diff --git a/gdb/i386aix-nat.c b/gdb/i386aix-nat.c index 0a432dd..c32f151 100644 --- a/gdb/i386aix-nat.c +++ b/gdb/i386aix-nat.c @@ -314,12 +314,21 @@ static int core_regmap[] = CD_DS, CD_ES, CD_FS, CD_GS, }; +/* Provide registers to GDB from a core file. + + CORE_REG_SECT points to an array of bytes, which were obtained from + a core file which BFD thinks might contain register contents. + CORE_REG_SIZE is its size. + + WHICH says which register set corelow suspects this is: + 0 --- the general-purpose register set + 2 --- the floating-point register set + + REG_ADDR isn't used. */ + static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; - unsigned core_reg_size; - int which; - CORE_ADDR reg_addr; /* ignored */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, + int which, CORE_ADDR reg_addr) { if (which == 0) |