introduce call_function_by_hand_dummy
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 14 May 2014 20:16:22 +0000 (14:16 -0600)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Dec 2014 21:26:41 +0000 (22:26 +0100)
commited12ef62ccad3b86e25ec3b042d8bf7f15c75909
tree63d07969f0e78ce5a5d07907817f67b9dc73c9a6
parentac04f72bb4396a311ffc445710d4068c13fb0448
introduce call_function_by_hand_dummy

This provides a variant of call_function_by_hand that allows the dummy
frame destructor to be set.  This is used by the compiler code to
manage some resources when calling the gdb-generated inferior
function.

gdb/ChangeLog
2014-12-12  Jan Kratochvil  <jan.kratochvil@redhat.com>

* infcall.h (call_function_by_hand_dummy): Declare.
* infcall.c (call_function_by_hand): Use
call_function_by_hand_dummy.
(call_function_by_hand_dummy): Rename from call_function_by_hand.
Add arguments.  Register a destructor.
gdb/ChangeLog
gdb/infcall.c
gdb/infcall.h