summaryrefslogtreecommitdiff
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
commit65639b5d3d3786def6fe6f0299b295f6955a126c (patch)
tree81ec067401bc72ba75ff5a7eef6adf143f1d8f6c /gdb/remote-utils.h
parenta17026d64f908fd9114dcca784d683ebdf0a0aff (diff)
downloadgdb-65639b5d3d3786def6fe6f0299b295f6955a126c.tar.gz
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 9f570683929..30e4ce3fe57 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); \
}