aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog14
-rw-r--r--gdb/h8300-tdep.c6
-rw-r--r--gdb/h8500-tdep.c8
-rw-r--r--gdb/remote-e7000.c14
-rw-r--r--gdb/ser-e7kpc.c7
5 files changed, 35 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index afa8128..fe6b497 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,17 @@
+Sat Dec 2 10:40:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * 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.
+
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* p-exp.y: Define strncasecmp as strnicmp for MSVC.
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 31abf59..84e190b 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -738,7 +738,7 @@ set_register_names (void)
}
static void
-h8300_command (int args, int from_tty)
+h8300_command (char *args, int from_tty)
{
extern int h8300hmode;
h8300hmode = 0;
@@ -747,7 +747,7 @@ h8300_command (int args, int from_tty)
}
static void
-h8300h_command (int args, int from_tty)
+h8300h_command (char *args, int from_tty)
{
extern int h8300hmode;
h8300hmode = 1;
@@ -756,7 +756,7 @@ h8300h_command (int args, int from_tty)
}
static void
-h8300s_command (int args, int from_tty)
+h8300s_command (char *args, int from_tty)
{
extern int h8300smode;
extern int h8300hmode;
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c
index 2cbe1e3..0d96b8a 100644
--- a/gdb/h8500-tdep.c
+++ b/gdb/h8500-tdep.c
@@ -414,7 +414,7 @@ h8500_set_pointer_size (int newsize)
}
static void
-big_command (void)
+big_command (char *arg, int from_tty)
{
h8500_set_pointer_size (32);
code_size = 4;
@@ -422,7 +422,7 @@ big_command (void)
}
static void
-medium_command (void)
+medium_command (char *arg, int from_tty)
{
h8500_set_pointer_size (32);
code_size = 4;
@@ -430,7 +430,7 @@ medium_command (void)
}
static void
-compact_command (void)
+compact_command (char *arg, int from_tty)
{
h8500_set_pointer_size (32);
code_size = 2;
@@ -438,7 +438,7 @@ compact_command (void)
}
static void
-small_command (void)
+small_command (char *arg, int from_tty)
{
h8500_set_pointer_size (16);
code_size = 2;
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];
diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c
index 726339d..9defa6e 100644
--- a/gdb/ser-e7kpc.c
+++ b/gdb/ser-e7kpc.c
@@ -416,6 +416,12 @@ e7000pc_setbaudrate (serial_t scb, int rate)
}
static int
+e7000pc_setstopbits (serial_t scb, int rate)
+{
+ return 0;
+}
+
+static int
e7000pc_write (serial_t scb, const char *str, int len)
{
dosasync_write (scb->fd, str, len);
@@ -445,6 +451,7 @@ static struct serial_ops e7000pc_ops =
e7000pc_print_tty_state,
e7000pc_noflush_set_tty_state,
e7000pc_setbaudrate,
+ e7000pc_setstopbits,
e7000pc_noop, /* wait for output to drain */
};