]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: const-ify remote_target::add_current_inferior_and_thread parameter
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 18 Jan 2021 05:46:13 +0000 (00:46 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 18 Jan 2021 05:46:13 +0000 (00:46 -0500)
commite3b2741b162209a497db03ed4d19890326f16816
treeac5b43f6970d26d67aa9ae29d4dca8db73b8456d
parentcecb19129054860e40d14c78af5c5ab06873e0ab
gdb: const-ify remote_target::add_current_inferior_and_thread parameter

... and adjust callers / callees.

gdb/ChangeLog:

* remote.c (class remote_target):
<add_current_inferior_and_thread>: Constify parameter.
(stop_reply_extract_thread): Likewise.
(remote_target::get_current_thread): Likewise.
(remote_target::add_current_inferior_and_thread): Likewise.

Change-Id: Ifdc6c263104b58852b532cfda81caf836437d29c
gdb/ChangeLog
gdb/remote.c