projects
/
deliverable
/
binutils-gdb.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
[deliverable/binutils-gdb.git]
/
gdb
/
tui
/
tui-regs.c
diff --git
a/gdb/tui/tui-regs.c
b/gdb/tui/tui-regs.c
index 91b40f5d072d69a62a68c65f94bc9d5a008a16f6..e6aeedd923115d3c089044f635f5e6d098e5e7dd 100644
(file)
--- a/
gdb/tui/tui-regs.c
+++ b/
gdb/tui/tui-regs.c
@@
-676,7
+676,7
@@
tui_reggroup_completer (struct cmd_list_element *ignore,
for (tmp = extra; *tmp != NULL; ++tmp)
{
if (strncmp (word, *tmp, len) == 0)
- tracker.add_completion (
gdb::unique_xmalloc_ptr<char> (xstrdup (*tmp)
));
+ tracker.add_completion (
make_unique_xstrdup (*tmp
));
}
}
This page took
0.024624 seconds
and
4
git commands to generate.