aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-e7000.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-12-02 11:37:15 +0000
committerAndrew Cagney <cagney@redhat.com>2000-12-02 11:37:15 +0000
commit55d801603665d5b9b410578cd64f29469dc86e7e (patch)
tree13cedd36ecb99ac47653698cdd19567141e1bc8d /gdb/remote-e7000.c
parentc6c98b3833d01c45200708006011e5cecd461fac (diff)
downloadfsf-binutils-gdb-55d801603665d5b9b410578cd64f29469dc86e7e.zip
fsf-binutils-gdb-55d801603665d5b9b410578cd64f29469dc86e7e.tar.gz
fsf-binutils-gdb-55d801603665d5b9b410578cd64f29469dc86e7e.tar.bz2
* ser-e7kpc.c (e7000pc_setstopbits): New function.
(e7000pc_ops): Add e7000pc_setstopbits. * remote-e7000.c (e7000_detach, e7000_resume, e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info, e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill): Update function signature to match target vector. * h8300-tdep.c (h8300_command, h8300h_command, h8300s_command): h8500-tdep.c (small_command, big_command, medium_command, compact_command): Update function signature to match add_cmd.
Diffstat (limited to 'gdb/remote-e7000.c')
-rw-r--r--gdb/remote-e7000.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c
index 90aa746..fbe3602 100644
--- a/gdb/remote-e7000.c
+++ b/gdb/remote-e7000.c
@@ -700,7 +700,7 @@ e7000_close (int quitting)
when you want to detach and do something else with your gdb. */
static void
-e7000_detach (int from_tty)
+e7000_detach (char *arg, int from_tty)
{
pop_target (); /* calls e7000_close to do the real work */
if (from_tty)
@@ -710,7 +710,7 @@ e7000_detach (int from_tty)
/* Tell the remote machine to resume. */
static void
-e7000_resume (int pid, int step, int sig)
+e7000_resume (int pid, int step, enum target_signal sigal)
{
if (step)
puts_e7000debug ("S\r");
@@ -1062,7 +1062,7 @@ e7000_prepare_to_store (void)
}
static void
-e7000_files_info (void)
+e7000_files_info (struct target_ops *ops)
{
printf_unfiltered ("\tAttached to %s at %d baud.\n", dev_name, baudrate);
}
@@ -1473,7 +1473,7 @@ fast_but_for_the_pause_e7000_read_inferior_memory (CORE_ADDR memaddr,
Returns the number of bytes transferred. */
static int
-e7000_xfer_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr,
+e7000_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr,
int len, int write, struct target_ops *target)
{
if (write)
@@ -1485,7 +1485,7 @@ e7000_xfer_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr,
}
static void
-e7000_kill (char *args, int from_tty)
+e7000_kill (void)
{
}
@@ -1696,7 +1696,7 @@ static CORE_ADDR breakaddr[MAX_BREAKPOINTS] =
{0};
static int
-e7000_insert_breakpoint (CORE_ADDR addr, unsigned char *shadow)
+e7000_insert_breakpoint (CORE_ADDR addr, char *shadow)
{
int i;
char buf[200];
@@ -1739,7 +1739,7 @@ e7000_insert_breakpoint (CORE_ADDR addr, unsigned char *shadow)
}
static int
-e7000_remove_breakpoint (CORE_ADDR addr, unsigned char *shadow)
+e7000_remove_breakpoint (CORE_ADDR addr, char *shadow)
{
int i;
char buf[200];