aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.h
diff options
context:
space:
mode:
authorJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
committerJohn R. Moore <jmoore@redhat.com>2001-02-02 20:01:16 +0000
commit338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978 (patch)
tree312aaa3e2890cc0489ba149a944435086943ad5d /gdb/remote-utils.h
parent2b5436af18f524fe06dc946353b455c2e7179669 (diff)
downloadgdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.zip
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.gz
gdb-338d7c5c40ea1cd85be41c8a7f7b3d4d6f679978.tar.bz2
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.
Diffstat (limited to 'gdb/remote-utils.h')
-rw-r--r--gdb/remote-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-utils.h b/gdb/remote-utils.h
index 9f57068..30e4ce3 100644
--- a/gdb/remote-utils.h
+++ b/gdb/remote-utils.h
@@ -1,6 +1,6 @@
/* Generic support for remote debugging interfaces.
- Copyright 1993 Free Software Foundation, Inc.
+ Copyright 1993, 2001 Free Software Foundation, Inc.
This file is part of GDB.
@@ -53,7 +53,7 @@ extern struct _sr_settings sr_settings;
#define sr_get_device() (sr_settings.device)
#define sr_set_device(newval) \
{ \
- if (sr_settings.device) free(sr_settings.device); \
+ if (sr_settings.device) xfree (sr_settings.device); \
sr_settings.device = (newval); \
}