This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3] case insensitive: re_comp->regcomp
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 21 Apr 2011 14:57:24 -0600
- Subject: Re: [patch 2/3] case insensitive: re_comp->regcomp
- References: <20110408175718.GC25806@host1.jankratochvil.net>
>>>>> "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