mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
2012-07-05 Hui Zhu <hui_zhu@mentor.com>
* breakpoint.c (check_for_argument): Move to file cli/cli-utils.c. * cli/cli-utils.c (check_for_argument): New function. * cli/cli-utils.h (check_for_argument): Ditto.
This commit is contained in:
@ -114,4 +114,10 @@ extern char *remove_trailing_whitespace (const char *start, char *s);
|
||||
|
||||
extern char *extract_arg (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. */
|
||||
extern int check_for_argument (char **str, char *arg, int arg_len);
|
||||
|
||||
#endif /* CLI_UTILS_H */
|
||||
|
Reference in New Issue
Block a user