old-cross-binutils/gdb/compile
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
..
compile-c-support.c Change // comment in gdb/compile/ 2015-02-26 11:48:18 +01:00
compile-c-symbols.c compile: Fix GNU-IFUNC funcs called from injected code 2015-02-26 17:40:57 +01:00
compile-c-types.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-internal.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-loc2c.c Add ATTRIBUTE_PRINTF attributes, and fix fallout 2015-02-26 18:29:12 +00:00
compile-object-load.c Add ATTRIBUTE_PRINTF attributes, and fix fallout 2015-02-26 18:29:12 +00:00
compile-object-load.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-object-run.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-object-run.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile.c New common function "startswith" 2015-03-06 09:42:06 +00:00
compile.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00