old-cross-binutils/gdb/python
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
..
lib/gdb Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-arch.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-auto-load.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-block.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-bpevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-breakpoint.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-cmd.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-continueevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-event.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-event.h Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-events.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-evtregistry.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-evts.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-exitedevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-finishbreakpoint.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-frame.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-framefilter.c framefilter quit: Use RETURN_MASK_ERROR 2015-02-11 14:50:09 +01:00
py-function.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-gdb-readline.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-inferior.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-infevents.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-infthread.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-lazy-string.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-linetable.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-newobjfileevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-objfile.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-param.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-prettyprint.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-progspace.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-signalevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-stopevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-stopevent.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-symbol.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
py-symtab.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-threadevent.c Fix redefinition errors in C++ mode 2015-02-11 11:20:21 +00:00
py-type.c New common function "startswith" 2015-03-06 09:42:06 +00:00
py-utils.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-value.c Fix Python 3 build error on 32-bit hosts 2015-02-04 20:31:17 +01:00
py-varobj.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
py-xmethods.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
python-config.py
python-internal.h python/python-internal.h: enum ‘ext_lang_rc’ not defined 2015-02-27 17:41:13 +00:00
python.c Fix Python 3 build: rename GdbMethods 2015-02-27 18:02:40 -05:00
python.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00