diff options
author | Tom Tromey <tromey@adacore.com> | 2020-08-07 10:26:45 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-08-07 10:26:45 -0600 |
commit | 3d4470e5d482ba5908651feb246d110453c8f31b (patch) | |
tree | 029fe0b23f107d72a819c4c6d91f92191b3eae7a /gdb/ada-lang.h | |
parent | 888bdb2b744515d111953a0a3aa674ea822416f9 (diff) | |
download | binutils-3d4470e5d482ba5908651feb246d110453c8f31b.zip binutils-3d4470e5d482ba5908651feb246d110453c8f31b.tar.gz binutils-3d4470e5d482ba5908651feb246d110453c8f31b.tar.bz2 |
Call add_active_thread after pushing the ravenscar target
Currently ravenscar-thread.c calls add_active_thread before pushing
the ravenscar target. This yields an initial thread announcement of
"[Thread 0]". Calling add_active_thread after pushing the target
fixes this.
gdb/ChangeLog
2020-08-07 Tom Tromey <tromey@adacore.com>
* ravenscar-thread.c (ravenscar_thread_target): Don't call
add_active_thread.
(ravenscar_thread_target::add_active_thread): Now public.
(ravenscar_inferior_created): Call add_active_thread after pushing
the target.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions