#include "inf-loop.h"
#include "continuations.h"
#include "linespec.h"
+#include "cli/cli-utils.h"
/* Local functions: */
char *start;
const char *end;
- /* Keep skipping leading white space. */
- if (isspace ((*addr_exp)))
- {
- addr_exp++;
- continue;
- }
+ /* Skip leading white space. */
+ addr_exp = skip_spaces (addr_exp);
/* Discard any leading ``$''. Check that there is something
resembling a register following it. */