projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace strsave() with xstrdup().
[deliverable/binutils-gdb.git]
/
gdb
/
monitor.c
diff --git
a/gdb/monitor.c
b/gdb/monitor.c
index 90e82f3e61bbd780e05f0b3bac3f80976c911757..53dbfb36ee2b041fb7391ba922624bae0a6d41b4 100644
(file)
--- 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);
This page took
0.025588 seconds
and
4
git commands to generate.