mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* breakpoint.c (catch_syscall_completer): Pass 'word' as second
argument to complete_on_enum. testsuite * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion test.
This commit is contained in:
@ -14972,7 +14972,7 @@ catch_syscall_completer (struct cmd_list_element *cmd,
|
||||
{
|
||||
const char **list = get_syscall_names ();
|
||||
VEC (char_ptr) *retlist
|
||||
= (list == NULL) ? NULL : complete_on_enum (list, text, word);
|
||||
= (list == NULL) ? NULL : complete_on_enum (list, word, word);
|
||||
|
||||
xfree (list);
|
||||
return retlist;
|
||||
|
Reference in New Issue
Block a user