This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v5 1/8] Move utility functions to common/
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Aleksandar Ristovski <ARistovski at qnx dot com>
- Date: Mon, 19 May 2014 12:21:27 -0600
- Subject: Re: [PATCH v5 1/8] Move utility functions to common/
- Authentication-results: sourceware.org; auth=none
- References: <20140319223004 dot 14668 dot 20989 dot stgit at host1 dot jankratochvil dot net> <20140319223014 dot 14668 dot 89536 dot stgit at host1 dot jankratochvil dot net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> some parts of the former patch have been reimplemented in the meantime by
Jan> other patches so this is only a part of the former cleanup.
Jan> 2014-02-26 Aleksandar Ristovski <aristovski@qnx.com
Jan> Move utility functions to common/.
Jan> * cli/cli-utils.c (skip_spaces, skip_spaces_const): Move defs to
Jan> common/common-utils.c.
Jan> * cli/cli-utils.h (skip_spaces, skip_spaces_const): Move decls to
Jan> common/common-utils.h.
Jan> * common/common-utils.c (host-defs.h, ctype.h): Include.
Jan> (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move
Jan> from utils.c.
Jan> (skip_spaces, skip_spaces_const): Move from cli/cli-utils.c.
Jan> * common/host-defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved from
Jan> defs.h.
Jan> * common/common-utils.h (strtoulst): Move decl from utils.h.
Jan> (hex2bin, bin2hex): Move decls from remote.h.
Jan> (skip_spaces, skip_spaces_const): Move decls from cli/cli-utils.h.
Jan> * defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Move to
Jan> common/common-utils.h
Jan> * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
Jan> (strtoulst): Move to common/common-utils.c.
Jan> * utils.h (strtoulst): Moved decl to common/common-utils.h.
This is ok.
Tom