summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2004-02-26 15:08:47 +0000
committerDaniel Jacobowitz <dan@debian.org>2004-02-26 15:08:47 +0000
commitd7505c1e1a22b36a725a94611457fdd285d370e0 (patch)
treee8dd761d7f6de8c7f9ef6565d87cdd3e6aac57e2 /gdb/gdbserver
parent7ed22022b5cb0c85e7d1853d21f5cdd794f6ab6e (diff)
downloadgdb-d7505c1e1a22b36a725a94611457fdd285d370e0.tar.gz
* remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
error packet. * server.c, target.h: Update copyright years.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog6
-rw-r--r--gdb/gdbserver/remote-utils.c7
-rw-r--r--gdb/gdbserver/server.c2
-rw-r--r--gdb/gdbserver/target.h2
4 files changed, 12 insertions, 5 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 219258f0104..e0f2f98d972 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-26 Daniel Jacobowitz <drow@mvista.com>
+
+ * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
+ error packet.
+ * server.c, target.h: Update copyright years.
+
2004-02-25 Roland McGrath <roland@redhat.com>
* target.h (struct target_ops): New member `read_auxv'.
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c
index eb56c1039a8..4e9ca0218b1 100644
--- a/gdb/gdbserver/remote-utils.c
+++ b/gdb/gdbserver/remote-utils.c
@@ -1,6 +1,6 @@
/* Remote utility routines for the remote server for GDB.
Copyright 1986, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
- 2002
+ 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GDB.
@@ -487,9 +487,10 @@ write_ok (char *buf)
void
write_enn (char *buf)
{
+ /* Some day, we should define the meanings of the error codes... */
buf[0] = 'E';
- buf[1] = 'N';
- buf[2] = 'N';
+ buf[1] = '0';
+ buf[2] = '1';
buf[3] = '\0';
}
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index b45b3f3c49c..df226e37df6 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -1,5 +1,5 @@
/* Main code for remote server for GDB.
- Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2002
+ Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GDB.
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
index f4bc6747487..88ff2d482d3 100644
--- a/gdb/gdbserver/target.h
+++ b/gdb/gdbserver/target.h
@@ -1,5 +1,5 @@
/* Target operations for the remote server for GDB.
- Copyright 2002
+ Copyright 2002, 2003, 2004
Free Software Foundation, Inc.
Contributed by MontaVista Software.