This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH RFC] Protoize mdebugread.c monitor.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFC] Protoize mdebugread.c monitor.c
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 19 Sep 2000 07:51:01 -0700
More protoization...
* mdebugread.c (mdebug_next_symbol_text): Protoize.
* monitor.c (monitor_xfer_memory): Protoize.
Index: mdebugread.c
===================================================================
RCS file: /cvs/src/src/gdb/mdebugread.c,v
retrieving revision 1.6
diff -u -r1.6 mdebugread.c
--- mdebugread.c 2000/07/30 01:48:26 1.6
+++ mdebugread.c 2000/09/19 14:47:01
@@ -3182,9 +3182,10 @@
}
}
+/* Get the next symbol. OBJFILE is unused. */
+
static char *
-mdebug_next_symbol_text (objfile)
- struct objfile *objfile; /* argument objfile is currently unused */
+mdebug_next_symbol_text (struct objfile *objfile)
{
SYMR sh;
Index: monitor.c
===================================================================
RCS file: /cvs/src/src/gdb/monitor.c,v
retrieving revision 1.11
diff -u -r1.11 monitor.c
--- monitor.c 2000/09/01 00:12:10 1.11
+++ monitor.c 2000/09/19 14:47:03
@@ -2000,13 +2000,13 @@
return len;
}
+/* Transfer LEN bytes between target address MEMADDR and GDB address
+ MYADDR. Returns 0 for success, errno code for failure. TARGET is
+ unused. */
+
static int
-monitor_xfer_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* ignored */
+monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct target_ops *target)
{
return dcache_xfer_memory (remote_dcache, memaddr, myaddr, len, write);
}