aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-02 10:46:38 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-10-02 10:46:38 -0400
commita7aba2668a7b392182e296392d8e19516e1a6ec5 (patch)
tree90bf9ad0ff14856658d698c150dbb479350b7918 /gdb/dummy-frame.c
parent3ee6f75d058c0747368e0631735e279174b1f918 (diff)
downloadfsf-binutils-gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.zip
fsf-binutils-gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.tar.gz
fsf-binutils-gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.tar.bz2
gdb: remove arguments from inferior_created observable
I noticed that non of the listeners of the inferior_created observable used either of the arguments. Remove them. This in turn allows removing the target parameter of post_create_inferior. Tested only by rebuilding. gdb/ChangeLog: * observable.h <inferior_created>: Remove parameters. Update all listeners. * inferior.h (post_create_inferior): Remove target parameter. Update all callers. Change-Id: I8944cefdc4447ed5347dc927b75abf1e7a0e27e6
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index d47cfd2..1952d2e 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -273,7 +273,7 @@ find_dummy_frame_dtor (dummy_frame_dtor_ftype *dtor, void *dtor_data)
them up at least once whenever we start a new inferior. */
static void
-cleanup_dummy_frames (struct target_ops *target, int from_tty)
+cleanup_dummy_frames ()
{
while (dummy_frame_stack != NULL)
remove_dummy_frame (&dummy_frame_stack);