aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sds.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/remote-sds.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadgdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.zip
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.bz2
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/remote-sds.c')
-rw-r--r--gdb/remote-sds.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c
index ca665ec..bdf2077 100644
--- a/gdb/remote-sds.c
+++ b/gdb/remote-sds.c
@@ -498,7 +498,6 @@ sds_fetch_registers (regno)
{
unsigned char buf[PBUFSIZ];
int i, retlen;
- char *p;
char regs[REGISTER_BYTES];
/* Unimplemented registers read as all bits zero. */
@@ -780,8 +779,6 @@ putmessage (buf, len)
unsigned char csum = 0;
char buf2[PBUFSIZ], buf3[PBUFSIZ];
unsigned char header[3];
- int ch;
- int tcount = 0;
char *p;
/* Copy the packet into buffer BUF2, encapsulating it
@@ -831,8 +828,6 @@ putmessage (buf, len)
while (1)
{
- int started_error_output = 0;
-
if (remote_debug)
{
*p = '\0';
@@ -846,9 +841,7 @@ putmessage (buf, len)
perror_with_name ("putmessage: write failed");
return 1;
-
}
-
}
/* Come here after finding the start of the frame. Collect the rest