aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/remote-utils.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-26 15:08:47 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-26 15:08:47 +0000
commitc89dc5d424056423307e7cd62896c5dc16e8d107 (patch)
tree133068f38f4425d78725ea2e724c0b79a9985e8b /gdb/gdbserver/remote-utils.c
parent9538538087b33e55d8274a22f895c4025a2d8ffe (diff)
downloadbinutils-c89dc5d424056423307e7cd62896c5dc16e8d107.zip
binutils-c89dc5d424056423307e7cd62896c5dc16e8d107.tar.gz
binutils-c89dc5d424056423307e7cd62896c5dc16e8d107.tar.bz2
* 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/remote-utils.c')
-rw-r--r--gdb/gdbserver/remote-utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c
index eb56c10..4e9ca02 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';
}