This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog gdb_regex.h utils.c cli/cli- ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 Jan 2011 16:50:42 -0000
- Subject: src/gdb ChangeLog gdb_regex.h utils.c cli/cli- ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2011-01-17 16:50:42
Modified files:
gdb : ChangeLog gdb_regex.h utils.c
gdb/cli : cli-cmds.c
Log message:
* cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
get_regcomp_error.
* utils.c: Include gdb_regex.h.
(do_regfree_cleanup): New function.
(make_regfree_cleanup): Likewise.
(get_regcomp_error): Likewise.
* gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12486&r2=1.12487
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdb_regex.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.244&r2=1.245
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-cmds.c.diff?cvsroot=src&r1=1.109&r2=1.110