forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user