8sa1-binutils-gdb/gdb/cli
Gary Benson 61012eef84 New common function "startswith"
This commit introduces a new inline common function "startswith"
which takes two string arguments and returns nonzero if the first
string starts with the second.  It also updates the 295 places
where this logic was written out longhand to use the new function.

gdb/ChangeLog:

	* common/common-utils.h (startswith): New inline function.
	All places where this logic was used updated to use the above.
2015-03-06 09:42:06 +00:00
..
cli-cmds.c Add max-completions parameter, and implement tab-completion limiting. 2015-01-31 15:07:22 -08:00
cli-cmds.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-decode.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-decode.h C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-dump.c New common function "startswith" 2015-03-06 09:42:06 +00:00
cli-interp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-logging.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-script.c New common function "startswith" 2015-03-06 09:42:06 +00:00
cli-script.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-setshow.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-setshow.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-utils.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-utils.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00