summaryrefslogtreecommitdiff
path: root/gdb/ocd.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
commitd4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch)
tree408b74c26833555087f04f4ec466afd488af6087 /gdb/ocd.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadbinutils-gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r--gdb/ocd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c
index 826677540e3..ef052bd1a83 100644
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -289,7 +289,6 @@ ocd_open (name, from_tty, target_type, ops)
struct target_ops *ops;
{
unsigned char buf[10], *p;
- int status;
int pktlen;
if (name == 0)
@@ -1066,7 +1065,6 @@ ocd_get_packet (cmd, lenp, timeout)
{
int ch;
int len;
- int i;
static unsigned char packet[512];
unsigned char *packet_ptr;
unsigned char checksum;
@@ -1411,7 +1409,7 @@ bdm_update_flash_command (args, from_tty)
int from_tty;
{
int status, pktlen;
- struct cleanup *old_chain;
+ struct cleanup *old_chain;
void (*store_registers_tmp) PARAMS ((int));
if (!ocd_desc)