aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-08-07 10:26:45 -0600
committerTom Tromey <tromey@adacore.com>2020-08-07 10:26:47 -0600
commita52b3ae2b101b0fefcfa8c4534472525bcbfdf3d (patch)
treef13defcaaee96ec566acc3721af5e9a266f091d4 /bfd
parent0e29517d97e94bfceb3abce77aea3b249f6cdaf3 (diff)
downloadgdb-a52b3ae2b101b0fefcfa8c4534472525bcbfdf3d.zip
gdb-a52b3ae2b101b0fefcfa8c4534472525bcbfdf3d.tar.gz
gdb-a52b3ae2b101b0fefcfa8c4534472525bcbfdf3d.tar.bz2
Fix remaining Ravenscar regressions
Testing showed a few more Ravenscar regressions arising from upstream. In particular, gdb now uses the current thread in some places where inferior_ptid was previously used. This patch fixes the problem by arranging to save and restore the thread now. gdb/ChangeLog 2020-08-07 Tom Tromey <tromey@adacore.com> * ravenscar-thread.c (ravenscar_thread_target::set_base_thread_from_ravenscar_task): New method. (ravenscar_thread_target::wait): Check runtime_initialized. (ravenscar_thread_target::prepare_to_store) (ravenscar_thread_target::stopped_by_sw_breakpoint) (ravenscar_thread_target::stopped_by_hw_breakpoint) (ravenscar_thread_target::stopped_by_watchpoint) (ravenscar_thread_target::stopped_data_address) (ravenscar_thread_target::core_of_thread): Use scoped_restore_current_thread and set_base_thread_from_ravenscar_task.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions