[patch 1/6] Move utility functions to common/

Aleksandar Ristovski aristovski@qnx.com
Fri Mar 22 13:13:00 GMT 2013


As per the subject...


ChangeLog:

	* cli/cli-utils.c (skip_spaces, skip_spaces_const): Move defs to
	common/common-utils.c.
	* cli/cli-utils.h (skip_spaces, skip_spaces_const): Move decls to
	common/common-utils.h.
	* common/common-utils.c (ctype.h): Include.
	(HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move
	from utils.c.
	(fromhex): Copy from remote.c.
	(hex2bin): Move from remote.c.
	(tohex): Copy from remote.c.
	(bin2hex): Move from remote.c.
	(skip_spaces, skip_spaces_const): Move from cli/cli-utils.c.
	* common/common-utils.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved
	from defs.h.
	(strtoulst): Move decl from utils.h.
	(hex2bin, bin2hex): Move decls from remote.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
	* remote.c (hex2bin, bin2hex): Moved defs to common/common-utils.c.
	* remote.h (hex2bin, bin2hex): Moved decls 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.



Thanks,

Aleksandar


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-utility-functions-to-common.patch
Type: text/x-patch
Size: 12261 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130322/3388ebef/attachment-0001.bin>


More information about the Gdb-patches mailing list