gdb/
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Fri, 13 May 2011 04:34:25 +0000 (04:34 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Fri, 13 May 2011 04:34:25 +0000 (04:34 +0000)
commit028d0ed5d19d1c164d9ee4f4f85743ca7e955e52
tree971789eee44563ba8452513041730d09151eac1e
parentc9eaa05f39a20ebdd807dcf8141a22e08bb613f1
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.
gdb/ChangeLog
gdb/defs.h
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-function.exp
gdb/top.c
gdb/top.h
gdb/utils.c
This page took 0.038595 seconds and 4 git commands to generate.