diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 5054bdb..d59a5ae 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -3561,7 +3561,8 @@ get_selections (int *choices, int n_choices, int max_results, if (prompt == NULL) prompt = "> "; - args = command_line_input (prompt, annotation_suffix); + std::string buffer; + args = command_line_input (buffer, prompt, annotation_suffix); if (args == NULL) error_no_arg (_("one or more choice numbers")); |