[patch 2/3] case insensitive: re_comp->regcomp
Tom Tromey
tromey@redhat.com
Thu Apr 21 20:57:00 GMT 2011
>>>>> "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
More information about the Gdb-patches
mailing list