diff options
Diffstat (limited to 'gdb/cli/cli-utils.h')
-rw-r--r-- | gdb/cli/cli-utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h index d0161db..9425fb4 100644 --- a/gdb/cli/cli-utils.h +++ b/gdb/cli/cli-utils.h @@ -188,7 +188,9 @@ extern std::string extract_arg (const char **arg); /* A helper function that looks for an argument at the start of a string. The argument must also either be at the end of the string, or be followed by whitespace. Returns 1 if it finds the argument, - 0 otherwise. If the argument is found, it updates *STR. */ + 0 otherwise. If the argument is found, it updates *STR to point + past the argument and past any whitespace following the + argument. */ extern int check_for_argument (const char **str, const char *arg, int arg_len); /* Same, for non-const STR. */ |