diff options
Diffstat (limited to 'gdb/break-catch-throw.c')
-rw-r--r-- | gdb/break-catch-throw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index c8612db..faa878e 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -402,7 +402,7 @@ extract_exception_regexp (const char **string) const char *start; const char *last, *last_space; - start = skip_spaces_const (*string); + start = skip_spaces (*string); last = start; last_space = start; @@ -416,7 +416,7 @@ extract_exception_regexp (const char **string) /* No "if" token here. Skip to the next word start. */ last_space = skip_to_space (last); - last = skip_spaces_const (last_space); + last = skip_spaces (last_space); } *string = last; @@ -438,7 +438,7 @@ catch_exception_command_1 (enum exception_event_kind ex_event, if (!arg) arg = ""; - arg = skip_spaces_const (arg); + arg = skip_spaces (arg); std::string except_rx = extract_exception_regexp (&arg); |