X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fkod-cisco.c;h=2ed67f6b05ccbcd63629fe82f3e6c44f7005af03;hb=0ea3f30e219bd42259f09f68bcd605bf4ed4a1ea;hp=0dffdb67fcd68e6f73e10f4ea540abd20fc788c6;hpb=2c67cb8b7a617d1a9ae00e29fc2983f0a3d3b68c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/kod-cisco.c b/gdb/kod-cisco.c index 0dffdb67fc..2ed67f6b05 100644 --- a/gdb/kod-cisco.c +++ b/gdb/kod-cisco.c @@ -1,5 +1,5 @@ /* Kernel Object Display facility for Cisco - Copyright 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. Written by Tom Tromey . @@ -17,7 +17,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "defs.h" #include "gdb_string.h" @@ -79,9 +80,9 @@ cisco_kod_open (kod_display_callback_ftype *display_func, } if (buffer[i] == '\0') - error ("Remote returned malformed packet\n"); + error (_("Remote returned malformed packet.")); if (strcmp (&buffer[i], "0.0.0")) - error ("Remote returned unknown stub version: %s\n", &buffer[i]); + error (_("Remote returned unknown stub version: %s."), &buffer[i]); /* Return name, version, and description. I hope we have enough space. */ @@ -312,6 +313,6 @@ cisco_kod_request (char *arg, int from_tty) /* Free memory. */ for (i = 0; i < sync_next; ++i) - free (sync_ids[i]); - free (sync_ids); + xfree (sync_ids[i]); + xfree (sync_ids); }