diff options
Diffstat (limited to 'gdb/cli/cli-utils.c')
-rw-r--r-- | gdb/cli/cli-utils.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c index 08b099f..a68b67d 100644 --- a/gdb/cli/cli-utils.c +++ b/gdb/cli/cli-utils.c @@ -23,16 +23,9 @@ #include <ctype.h> -/* *PP is a string denoting a number. Get the number of the. Advance - *PP after the string and any trailing whitespace. - - Currently the string can either be a number, or "$" followed by the - name of a convenience variable, or ("$" or "$$") followed by digits. - - TRAILER is a character which can be found after the number; most - commonly this is `-'. If you don't want a trailer, use \0. */ +/* See documentation in cli-utils.h. */ -static int +int get_number_trailer (const char **pp, int trailer) { int retval = 0; /* default */ |