From 338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978 Mon Sep 17 00:00:00 2001 From: "John R. Moore" Date: Fri, 2 Feb 2001 20:01:16 +0000 Subject: [PATCH] Changed free() to xfree() where appropriate. Also changed Copyright to include 2001. --- gdb/ChangeLog | 11 ++++++++++- gdb/gdbarch.c | 4 ++-- gdb/gdbarch.h | 2 +- gdb/gdbarch.sh | 6 +++--- gdb/remote-utils.h | 4 ++-- gdb/symtab.h | 10 +++++----- gdb/value.h | 5 +++-- 7 files changed, 26 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2df3d33..1220766 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,16 @@ 2001-02-02 John Moore + * remote-utils.h (sr_set_device): Changed free() to xfree() where + appropriate. Also changed Copyright to include 2001. + * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise. + * value.h (value_free): Likewise. + * gdbarch.sh (gdbarch_free): Likewise. + * gdbarch.c, gdbarch.h: Regenerated. + +2001-02-02 John Moore + * cli/cli-cmds.c (apropos_command): Changed occurance of free() to - xfree(). Also changed Copyright to include 2001. + xfree(). Also changed Copyright to include 2001. 2001-02-02 J.T. Conklin diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 4c5c44d..f08cfb5 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1,7 +1,7 @@ /* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ /* Dynamic architecture support for GDB, the GNU debugger. - Copyright 1998-1999, Free Software Foundation, Inc. + Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -467,7 +467,7 @@ void gdbarch_free (struct gdbarch *arch) { /* At the moment, this is trivial. */ - free (arch); + xfree (arch); } diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index a4cd19d..af225fc 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1,7 +1,7 @@ /* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ /* Dynamic architecture support for GDB, the GNU debugger. - Copyright 1998-1999, Free Software Foundation, Inc. + Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 578514e..dfc102b 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1,7 +1,7 @@ #!/bin/sh -u # Architecture commands for GDB, the GNU debugger. -# Copyright 1998-2000 Free Software Foundation, Inc. +# Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. # # This file is part of GDB. # @@ -531,7 +531,7 @@ cat <