diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ravenscar-thread.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5bdca27..ea8ef82 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-01-31 Tom Tromey <tromey@adacore.com> + + * ravenscar-thread.c (ravenscar_thread_target::mourn_inferior): + Call beneath target's mourn_inferior after unpushing. + 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com> PR tui/9765 diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 5d24c59..fd3beb0 100644 --- a/gdb/ravenscar-thread.c +++ b/gdb/ravenscar-thread.c @@ -515,8 +515,9 @@ void ravenscar_thread_target::mourn_inferior () { m_base_ptid = null_ptid; - beneath ()->mourn_inferior (); + target_ops *beneath = this->beneath (); unpush_target (this); + beneath->mourn_inferior (); } /* Implement the to_core_of_thread target_ops "method". */ |