projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce and use make_unique_xstrdup
[external/binutils.git]
/
gdb
/
infcmd.c
diff --git
a/gdb/infcmd.c
b/gdb/infcmd.c
index
1dfbe23
..
00b55c8
100644
(file)
--- a/
gdb/infcmd.c
+++ b/
gdb/infcmd.c
@@
-421,7
+421,7
@@
strip_bg_char (const char *args, int *bg_char_p)
}
*bg_char_p = 0;
- return
gdb::unique_xmalloc_ptr<char> (xstrdup (args)
);
+ return
make_unique_xstrdup (args
);
}
/* Common actions to take after creating any sort of inferior, by any