summaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-23 03:21:06 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-23 03:21:06 +0000
commit5c62a49526f4d0f7f7ea19971e7234f7d84ac5ea (patch)
tree82ffc2956cfb7fced96b0f1505ca4f2aa3001d0c /gdb/sparc-nat.c
parent6c798aafa0879f02b1589a61e1eaa439b0e1bf3d (diff)
downloadgdb-5c62a49526f4d0f7f7ea19971e7234f7d84ac5ea.tar.gz
Protoization.
Diffstat (limited to 'gdb/sparc-nat.c')
-rw-r--r--gdb/sparc-nat.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/gdb/sparc-nat.c b/gdb/sparc-nat.c
index c62054a4dde..017f31a42f9 100644
--- a/gdb/sparc-nat.c
+++ b/gdb/sparc-nat.c
@@ -248,13 +248,21 @@ store_inferior_registers (int regno)
}
}
+/* Provide registers to GDB from a core file.
+
+ CORE_REG_SECT points to an array of bytes, which are the contents
+ of a `note' 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
+
+ IGNORE is unused. */
static void
-fetch_core_registers (core_reg_sect, core_reg_size, which, ignore)
- char *core_reg_sect;
- unsigned core_reg_size;
- int which;
- CORE_ADDR ignore; /* reg addr, unused in this version */
+fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
+ int which, CORE_ADDR ignore)
{
if (which == 0)