projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
C++-fy and prepare for sharing fork_inferior
[deliverable/binutils-gdb.git]
/
gdb
/
common
/
common-utils.c
diff --git
a/gdb/common/common-utils.c
b/gdb/common/common-utils.c
index afc0af9641c5fd747b1538df0c8c310bf3c058e8..e94fdc4cb3631bc6f422506de70a5ff3541834ac 100644
(file)
--- a/
gdb/common/common-utils.c
+++ b/
gdb/common/common-utils.c
@@
-317,3
+317,14
@@
skip_to_space_const (const char *chp)
chp++;
return chp;
}
+
+/* See common/common-utils.h. */
+
+void
+free_vector_argv (std::vector<char *> &v)
+{
+ for (char *el : v)
+ xfree (el);
+
+ v.clear ();
+}
This page took
0.026468 seconds
and
4
git commands to generate.