aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbcmd.h')
-rw-r--r--gdb/gdbcmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h
index 512b72c..6db49e2 100644
--- a/gdb/gdbcmd.h
+++ b/gdb/gdbcmd.h
@@ -128,7 +128,7 @@ extern struct cmd_list_element *showchecklist;
extern struct cmd_list_element *save_cmdlist;
extern void execute_command (char *, int);
-extern char *execute_command_to_string (char *p, int from_tty);
+extern std::string execute_command_to_string (char *p, int from_tty);
enum command_control_type execute_control_command (struct command_line *);