Use startswith in gdb subfolder.
authorMartin Liska <mliska@suse.cz>
Tue, 23 Mar 2021 09:02:04 +0000 (10:02 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 1 Apr 2021 04:29:59 +0000 (06:29 +0200)
commit733f5eea6bde8546a4845416457174c6d716e882
treee07361cad1bb0c645db507135b7d5ea361a57d26
parentaf82f89db0f4a9c161a642c201f4618e728b9ff9
Use startswith in gdb subfolder.

gdb/ChangeLog:

* cp-name-parser.y: Use startswith instead of strncmp.
* m2-exp.y: Likewise.
* macroexp.c (substitute_args): Likewise.
* mi/mi-main.c (command_notifies_uscc_observer): Likewise.
* rust-exp.y: Likewise.
gdb/ChangeLog
gdb/cp-name-parser.y
gdb/m2-exp.y
gdb/macroexp.c
gdb/mi/mi-main.c
gdb/rust-exp.y