OSDN Git Service

* reverse.c: Include cli-utils.h.
authortromey <tromey>
Tue, 22 Feb 2011 03:13:15 +0000 (03:13 +0000)
committertromey <tromey>
Tue, 22 Feb 2011 03:13:15 +0000 (03:13 +0000)
commitddb62bf7148d7227b360da099772104bbbc46bed
treee8310922b6bacbe8c3423e886af15fba74cf9e73
parent80d43c4850d5775b85104305c0b0fff9b60db8b3
* 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.
gdb/ChangeLog
gdb/Makefile.in
gdb/breakpoint.c
gdb/breakpoint.h
gdb/cli/cli-dump.c
gdb/cli/cli-dump.h
gdb/cli/cli-utils.c [new file with mode: 0644]
gdb/cli/cli-utils.h [new file with mode: 0644]
gdb/printcmd.c
gdb/reverse.c