This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb defs.h top.c top.h utils.c ChangeLog m ...
- From: bauermann at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 13 May 2011 04:34:26 -0000
- Subject: src/gdb defs.h top.c top.h utils.c ChangeLog m ...
CVSROOT: /cvs/src
Module name: src
Changes by: bauermann@sourceware.org 2011-05-13 04:34:25
Modified files:
gdb : defs.h top.c top.h utils.c ChangeLog
gdb/mi : mi-main.c
gdb/testsuite/gdb.python: py-function.exp
gdb/testsuite : ChangeLog
Log message:
gdb/
* mi/mi-main.c (mi_cmd_execute): Use cleanup from
prepare_execute_command.
* top.c (prepare_execute_command): Return cleanup.
(execute_command): Use cleanup from prepare_execute_command.
* top.h (prepare_execute_command): Change prototype to return
cleanup.
* defs.h (struct value): Add opaque declaration.
(make_cleanup_value_free_to_mark): Add prototype.
* utils.c (do_value_free_to_mark): New function.
(make_cleanup_value_free_to_mark): Likewise.
gdb/testsuite/
* gdb.python/py-function.exp: Test setting a value from a function
which executes a command.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&r1=1.292&r2=1.293
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/top.c.diff?cvsroot=src&r1=1.196&r2=1.197
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/top.h.diff?cvsroot=src&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.c.diff?cvsroot=src&r1=1.254&r2=1.255
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12999&r2=1.13000
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-main.c.diff?cvsroot=src&r1=1.197&r2=1.198
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-function.exp.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2706&r2=1.2707