diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-10-06 21:50:56 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-10-06 21:50:56 +0000 |
commit | 6e9291d936230709e99672b39d57945607e85954 (patch) | |
tree | e6401bd6c223cbf3173ba137748c74cf99ee67b2 /gdb/remote-es.c | |
parent | 82471d0e0d9e0c4ce95bbbd51a45ecec3d40ec3d (diff) | |
download | gdb-6e9291d936230709e99672b39d57945607e85954.tar.gz |
Protoization.
Diffstat (limited to 'gdb/remote-es.c')
-rw-r--r-- | gdb/remote-es.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/gdb/remote-es.c b/gdb/remote-es.c index a5005107d90..3053fe93c63 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); |