Move utility functions to common/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 15 Jun 2015 15:04:56 +0000 (17:04 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 15 Jun 2015 15:04:56 +0000 (17:04 +0200)
commit03aef70fecec83e109c65337a59600ad36def6bf
treeed240e26dc4d64cc4536b2b371523c8b6e9e9919
parentd1168cc1a9825b96747440b0bd1f82c4498e6343
Move utility functions to common/

gdb/ChangeLog
2015-06-15  Aleksandar Ristovski  <aristovski@qnx.com
    Jan Kratochvil  <jan.kratochvil@redhat.com>

Move utility functions to common/.
* cli/cli-utils.c (skip_spaces, skip_spaces_const, skip_to_space_const):
Move defs to common/common-utils.c.
* cli/cli-utils.h (skip_spaces, skip_spaces_const, skip_to_space)
(skip_to_space_const): Move decls to common/common-utils.h.
* common/common-defs.h: Move include of common-types.h before
common-utils.h.
* common/common-utils.c: Include host-defs.h and ctype.h.
(HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move
from utils.c.
(skip_spaces, skip_spaces_const, skip_to_space_const): Move from
cli/cli-utils.c.
* common/common-utils.h (strtoulst): Move decl from utils.h.
(skip_spaces, skip_spaces_const, skip_to_space, skip_to_space_const):
Move from cli/cli-utils.h.
* common/host-defs.h: Include limits.h.
(TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved from defs.h.
(skip_spaces, skip_spaces_const): Move decls from cli/cli-utils.h.
* defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Move to
common/common-utils.h.
* utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
(strtoulst): Move to common/common-utils.c.
* utils.h (strtoulst): Moved decl to common/common-utils.h.
gdb/ChangeLog
gdb/cli/cli-utils.c
gdb/cli/cli-utils.h
gdb/common/common-defs.h
gdb/common/common-utils.c
gdb/common/common-utils.h
gdb/common/host-defs.h
gdb/defs.h
gdb/utils.c
gdb/utils.h
This page took 0.025571 seconds and 4 git commands to generate.