diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-01-31 01:24:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-01-31 01:24:03 +0000 |
commit | 4fcf66da885273eeeea8e14b771d0e3ea20799d9 (patch) | |
tree | 54c8a3ebd35bd426e7f39acd89ac000930cc3a39 /gdb/monitor.c | |
parent | e191e0abe5e90c81f39b0a428de8e4e44184161f (diff) | |
download | gdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.zip gdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.tar.gz gdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.tar.bz2 |
Replace strsave() with xstrdup().
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r-- | gdb/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c index 90e82f3..53dbfb3 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -755,7 +755,7 @@ monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty) if (dev_name) xfree (dev_name); - dev_name = strsave (args); + dev_name = xstrdup (args); monitor_desc = SERIAL_OPEN (dev_name); |