diff options
author | Tom Tromey <tom@tromey.com> | 2020-12-11 09:21:53 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-12-11 09:21:54 -0700 |
commit | d634cd0bcef830f2c8b9a544f1f0621fa382e2cc (patch) | |
tree | 0ee3b57e6577e4f3f77aa5b595a66494300214bb /gdb/ChangeLog | |
parent | 51107df53aeb2f6a5a03a1af29eec773b3aca463 (diff) | |
download | gdb-d634cd0bcef830f2c8b9a544f1f0621fa382e2cc.zip gdb-d634cd0bcef830f2c8b9a544f1f0621fa382e2cc.tar.gz gdb-d634cd0bcef830f2c8b9a544f1f0621fa382e2cc.tar.bz2 |
Use thread_info_ref in stop_context
This changes stop_context to use a thread_info_ref, removing some
manual reference counting.
gdb/ChangeLog
2020-12-11 Tom Tromey <tom@tromey.com>
* infrun.c (struct stop_context) <thread>: Now a thread_info_ref.
(stop_context::stop_context): Update.
(stop_context::~stop_context): Remove.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3d97380..98b7c13 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2020-12-11 Tom Tromey <tom@tromey.com> + * infrun.c (struct stop_context) <thread>: Now a thread_info_ref. + (stop_context::stop_context): Update. + (stop_context::~stop_context): Remove. + +2020-12-11 Tom Tromey <tom@tromey.com> + * inferior.c (current_inferior_): Change type. (current_inferior, set_current_inferior, initialize_inferiors): Update. |