diff options
author | Tom Tromey <tromey@adacore.com> | 2020-01-22 12:30:40 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-01-31 11:38:37 +0100 |
commit | fd9faca826e6ee9178cf0b1c2486e3c662d6375a (patch) | |
tree | a36b2251db9885dcd2fa78bd9d68db3b348e7e6d /gdb/ChangeLog | |
parent | 42330a681af23a80d3e1f201d2a65886875e74bd (diff) | |
download | gdb-fd9faca826e6ee9178cf0b1c2486e3c662d6375a.zip gdb-fd9faca826e6ee9178cf0b1c2486e3c662d6375a.tar.gz gdb-fd9faca826e6ee9178cf0b1c2486e3c662d6375a.tar.bz2 |
Fix ravenscar-thread.c for multi-target
ravenscar-thread.c needed a change to adapt to multi-target:
ravenscar_thread_target::mourn_inferior called the mourn_inferior
method on the target beneat -- but when the target beneath was the
remote target, this resulted in the ravenscar target being deleted.
Switching the order of the calls to unpush_target and the beneath's
mourn_inferior fixes this problem.
gdb/ChangeLog
2020-01-31 Tom Tromey <tromey@adacore.com>
* ravenscar-thread.c (ravenscar_thread_target::mourn_inferior):
Call beneath target's mourn_inferior after unpushing.
Change-Id: Ia80380515c403adc40505a6b3420c9cb35754370
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 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 |