binutils-gdb/gdb/nat
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
..
gdb_thread_db.h
glibc_thread_db.h
linux-btrace.c btrace: support 32-bit inferior on 64-bit host 2015-03-03 12:47:41 +01:00
linux-btrace.h
linux-nat.h
linux-osdata.c
linux-osdata.h
linux-personality.c
linux-personality.h
linux-procfs.c New common function "startswith" 2015-03-06 09:42:06 +00:00
linux-procfs.h
linux-ptrace.c Add extern "C" to declarations of C symbols 2015-02-27 17:26:16 +00:00
linux-ptrace.h Linux native: Use TRAP_BRKPT/TRAP_HWBPT 2015-03-04 20:41:16 +00:00
linux-waitpid.c
linux-waitpid.h
mips-linux-watch.c
mips-linux-watch.h
ppc-linux.c
ppc-linux.h
x86-cpuid.h
x86-dregs.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
x86-dregs.h Don't forward declare enum target_hw_bp_type 2015-02-27 17:29:42 +00:00
x86-gcc-cpuid.h