aboutsummaryrefslogtreecommitdiff
path: root/gdb/reverse.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-02-21 18:13:17 +0000
committerTom Tromey <tromey@redhat.com>2011-02-21 18:13:17 +0000
commite9cafbccd26b045ba6a3db2fde83dd33228e473b (patch)
tree2ff85b840a2849b1564202ebac2e3d2f17b541ce /gdb/reverse.c
parentf67fd822d03bd263034b549d89d98e98356ff194 (diff)
* reverse.c: Include cli-utils.h.
* printcmd.c: Include cli-utils.h. (string_printf): Use skip_spaces. * cli/cli-utils.h: New file. * cli/cli-utils.c: New file. * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. * breakpoint.h (get_number, get_number_or_range): Move to cli-utils.h. * breakpoint.c: Include cli-utils.h. (get_number_trailer, get_number, get_number_or_range) (ep_skip_leading_whitespace): Move to cli-utils.c. (create_breakpoint_sal, find_condition_and_thread) (decode_static_tracepoint_spec, watch_command_1) (watch_maybe_just_location, ep_parse_optional_if_clause) (catch_fork_command_1, catch_exec_command_1) (catch_syscall_command_1): Use skip_spaces, skip_to_space. * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. (SUBDIR_CLI_SRCS): Add cli-utils.c. (HFILES_NO_SRCDIR): Add cli-utils.h. (cli-utils.o): New target.
Diffstat (limited to 'gdb/reverse.c')
-rw-r--r--gdb/reverse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/reverse.c b/gdb/reverse.c
index d501ceb6e3..7169cc3e63 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -24,6 +24,7 @@
#include "top.h"
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
+#include "cli/cli-utils.h"
#include "inferior.h"
#include "regcache.h"