From c89dc5d424056423307e7cd62896c5dc16e8d107 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 26 Feb 2004 15:08:47 +0000 Subject: [PATCH] * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the error packet. * server.c, target.h: Update copyright years. --- gdb/gdbserver/ChangeLog | 6 ++++++ gdb/gdbserver/remote-utils.c | 7 ++++--- gdb/gdbserver/server.c | 2 +- gdb/gdbserver/target.h | 2 +- 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 + + * 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 * 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. -- 2.30.2