aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-rdi.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
committerJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
commitc2d11a7da0372ef052af1c74d56e264d8aae4743 (patch)
treeb2ceadb275bb9a170315ab66111c1f643c9ebf71 /gdb/remote-rdi.c
parent1e37c28164d4f504b2ae8189d0b82a862cfa323d (diff)
downloadgdb-c2d11a7da0372ef052af1c74d56e264d8aae4743.zip
gdb-c2d11a7da0372ef052af1c74d56e264d8aae4743.tar.gz
gdb-c2d11a7da0372ef052af1c74d56e264d8aae4743.tar.bz2
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r--gdb/remote-rdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 7332762..01433c8 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -236,7 +236,7 @@ device is attached to the remote system (e.g. /dev/ttya).");
/* split name after whitespace, pass tail as arg to open command */
- devName = strdup (name);
+ devName = xstrdup (name);
p = strchr (devName, ' ');
if (p)
{
@@ -1011,7 +1011,7 @@ rdilogfile_command (char *arg, int from_tty)
if (log_filename)
free (log_filename);
- log_filename = strdup (arg);
+ log_filename = xstrdup (arg);
Adp_SetLogfile (log_filename);
}
@@ -1050,7 +1050,7 @@ _initialize_remote_rdi ()
init_rdi_ops ();
add_target (&arm_rdi_ops);
- log_filename = strdup ("rdi.log");
+ log_filename = xstrdup ("rdi.log");
Adp_SetLogfile (log_filename);
Adp_SetLogEnable (log_enable);