aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-07-23 15:52:59 -0600
committerTom Tromey <tom@tromey.com>2017-08-03 07:59:10 -0600
commit744e4fe1db7099d91f71c50c83708cfef5d3d0c8 (patch)
tree7b19e781f9472950569658fe7024fa799c83e611 /gdb/utils.h
parent1c034b67a03ed928eb3916034eb1e782a8188520 (diff)
downloadgdb-744e4fe1db7099d91f71c50c83708cfef5d3d0c8.zip
gdb-744e4fe1db7099d91f71c50c83708cfef5d3d0c8.tar.gz
gdb-744e4fe1db7099d91f71c50c83708cfef5d3d0c8.tar.bz2
Remove make_cleanup_freeargv and gdb_buildargv
After the previous patches in this series, make_cleanup_freeargv and gdb_buildargv are now unused and can be removed. ChangeLog 2017-08-03 Tom Tromey <tom@tromey.com> * utils.c (make_cleanup_freeargv, do_freeargv, gdb_buildargv): Remove. * utils.h (make_cleanup_freeargv, gdb_buildargv): Remove.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index 88cab4b..c922a22 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -85,8 +85,6 @@ extern int parse_pid_to_attach (const char *args);
extern int parse_escape (struct gdbarch *, const char **);
-char **gdb_buildargv (const char *);
-
/* A wrapper for an array of char* that was allocated in the way that
'buildargv' does, and should be freed with 'freeargv'. */
@@ -207,8 +205,6 @@ private:
/* Cleanup utilities. */
-extern struct cleanup *make_cleanup_freeargv (char **);
-
struct ui_out;
extern struct cleanup *
make_cleanup_ui_out_redirect_pop (struct ui_out *uiout);