aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-es.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-06 21:50:56 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-06 21:50:56 +0000
commitd742f2c2204a85d8196bcda35f22fa2da93aed70 (patch)
tree851715a7b0f27a5b7bb5a7d5f7e3b308a2367532 /gdb/remote-es.c
parent3e4554a2064c06f1b49a759095ad5f2d172d45bc (diff)
downloadgdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.zip
gdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.tar.gz
gdb-d742f2c2204a85d8196bcda35f22fa2da93aed70.tar.bz2
Protoization.
Diffstat (limited to 'gdb/remote-es.c')
-rw-r--r--gdb/remote-es.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/remote-es.c b/gdb/remote-es.c
index a500510..3053fe9 100644
--- a/gdb/remote-es.c
+++ b/gdb/remote-es.c
@@ -954,15 +954,12 @@ tohex (int nib)
memaddr - the target's address
myaddr - gdb's address
len - number of bytes
- write - write if != 0 otherwise read */
+ write - write if != 0 otherwise read
+ tops - unused */
static int
-es1800_xfer_inferior_memory (memaddr, myaddr, len, write, tops)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *tops; /* Unused */
+es1800_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
+ int write, struct target_ops *tops)
{
int origlen = len;
int xfersize;
@@ -1065,11 +1062,10 @@ es1800_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
}
}
-/* Information about the current target */
+/* Display information about the current target. TOPS is unused. */
static void
-es1800_files_info (tops)
- struct target_ops *tops; /* Unused */
+es1800_files_info (struct target_ops *tops)
{
printf ("ES1800 Attached to %s at %d baud in %s mode\n", savename, 19200,
MODE);