aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppab-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/hppab-nat.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/hppab-nat.c')
-rw-r--r--gdb/hppab-nat.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c
index 29d22eb..5659532 100644
--- a/gdb/hppab-nat.c
+++ b/gdb/hppab-nat.c
@@ -50,8 +50,7 @@
/* Fetch one register. */
static void
-fetch_register (regno)
- int regno;
+fetch_register (int regno)
{
register unsigned int regaddr;
char buf[MAX_REGISTER_RAW_SIZE];
@@ -87,8 +86,7 @@ error_exit:;
/* Fetch all registers, or just one, from the child process. */
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
if (regno == -1)
for (regno = 0; regno < NUM_REGS; regno++)
@@ -102,8 +100,7 @@ fetch_inferior_registers (regno)
Otherwise, REGNO specifies which register (so we can save time). */
void
-store_inferior_registers (regno)
- int regno;
+store_inferior_registers (int regno)
{
register unsigned int regaddr;
char buf[80];
@@ -190,8 +187,7 @@ store_inferior_registers (regno)
#define PT_PROT 21
int
-hppa_set_watchpoint (addr, len, flag)
- int addr, len, flag;
+hppa_set_watchpoint (int addr, int len, int flag)
{
int pt_args[3];
pt_args[0] = addr;