aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2014-05-14 14:01:24 -0600
committerJan Kratochvil <jan.kratochvil@redhat.com>2014-12-12 22:25:15 +0100
commit233a8fb382c88d7faa6da1cd93a7e21b77e36df4 (patch)
treea4a8a2bba3dafe8a4a964b7c342465dc1b69fb6a /gdb/ChangeLog
parentf1660027106d583c639c9f37096519944d5c20e9 (diff)
downloadgdb-233a8fb382c88d7faa6da1cd93a7e21b77e36df4.zip
gdb-233a8fb382c88d7faa6da1cd93a7e21b77e36df4.tar.gz
gdb-233a8fb382c88d7faa6da1cd93a7e21b77e36df4.tar.bz2
add dummy frame destructor
The compiler code needed a hook into dummy frame destruction, so that some state could be kept while the inferior call is made and then destroyed when the inferior call finishes. This patch adds an optional destructor to dummy frames and a new API to access it. gdb/ChangeLog 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New fields. (pop_dummy_frame): Call the destructor if it exists. (register_dummy_frame_dtor, find_dummy_frame_dtor): New functions. * dummy-frame.h (dummy_frame_dtor_ftype): New typedef. (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0fc1035..d7f0c2d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New
+ fields.
+ (pop_dummy_frame): Call the destructor if it exists.
+ (register_dummy_frame_dtor, find_dummy_frame_dtor): New
+ functions.
+ * dummy-frame.h (dummy_frame_dtor_ftype): New typedef.
+ (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare.
+
2014-12-12 Tom Tromey <tromey@redhat.com>
* gdbtypes.h (make_unqualified_type): Declare.