This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 2/3] case insensitive: re_comp->regcomp


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 2011-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	Replace re_comp/re_exec by regcomp/regexec.
Jan> 	* symtab.c (struct search_symbols_data): New fields preg, preg_p.
Jan> 	(search_symbols_name_matches): Use them, use regexec.
Jan> 	(search_symbols): New variable retval_chain, adjust the use of
Jan> 	old_chain against it.  Replace re_comp by regcomp.  Use the new struct
Jan> 	search_symbols_data fields, use regexec instead of re_exec.

This looks good to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]