diff options
Diffstat (limited to 'gdb/top.h')
-rw-r--r-- | gdb/top.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/top.h b/gdb/top.h index ff96b750d86..ce509b58f1a 100644 --- a/gdb/top.h +++ b/gdb/top.h @@ -48,8 +48,9 @@ extern int quit_cover (void *); extern void execute_command (char *, int); /* Prepare for execution of a command. - Call this before every command, CLI or MI. */ -extern void prepare_execute_command (void); + Call this before every command, CLI or MI. + Returns a cleanup to be run after the command is completed. */ +extern struct cleanup *prepare_execute_command (void); /* This function returns a pointer to the string that is used by gdb for its command prompt. */ |