[PATCH 5/5] Use startswith in gdb subfolder.

Martin Liska mliska@suse.cz
Tue Mar 23 09:02:04 GMT 2021


ChangeLog:

	* gdb/cp-name-parser.y: Use startswith instead of strncmp.
	* gdb/m2-exp.y: Likewise.
	* gdb/macroexp.c (substitute_args): Likewise.
	* gdb/mi/mi-main.c (command_notifies_uscc_observer): Likewise.
	* gdb/rust-exp.y: Likewise.
---
 gdb/cp-name-parser.y | 68 ++++++++++++++++++++++----------------------
 gdb/m2-exp.y         |  4 +--
 gdb/macroexp.c       |  2 +-
 gdb/mi/mi-main.c     |  8 +++---
 gdb/rust-exp.y       |  2 +-
 5 files changed, 42 insertions(+), 42 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Use-startswith-in-gdb-subfolder.patch
Type: text/x-patch
Size: 8492 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210323/6a985435/attachment-0001.bin>


More information about the Binutils mailing list