aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-03-09 14:56:09 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-03-09 16:32:00 -0500
commit287de65625a667b6403d0606fa75b67926ec7230 (patch)
treea4911b3dc540ba6a54e0aebbbe972cec6f1d8be1 /gdb/remote.c
parent2562954ede66f32bff7d985e752b8052c2ae5775 (diff)
downloadfsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.zip
fsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.gz
fsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.bz2
gdb, gdbserver, gdbsupport: fix whitespace issues
Replace spaces with tabs in a bunch of places. Change-Id: If0f87180f1d13028dc178e5a8af7882a067868b0
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index ba7a752..526df31 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -5214,7 +5214,7 @@ remote_target::start_remote_1 (int from_tty, int extended_p)
continue;
/* Need to switch to a specific thread, because remote_check_symbols
- uses INFERIOR_PTID to set the general thread. */
+ uses INFERIOR_PTID to set the general thread. */
scoped_restore_current_thread restore_thread;
thread_info *thread = any_thread_of_inferior (inf);
switch_to_thread (thread);
@@ -6733,7 +6733,7 @@ remote_target::resume (ptid_t scope_ptid, int step, enum gdb_signal siggnal)
= get_remote_thread_info (inferior_thread ());
/* We don't expect the core to ask to resume an already resumed (from
- its point of view) thread. */
+ its point of view) thread. */
gdb_assert (remote_thr->get_resume_state () == resume_state::NOT_RESUMED);
remote_thr->set_resumed_pending_vcont (step, siggnal);
@@ -7025,7 +7025,7 @@ remote_target::commit_resumed ()
gdb_assert (!thread_is_in_step_over_chain (tp));
/* We should never be commit-resuming a thread that has a stop reply.
- Otherwise, we would end up reporting a stop event for a thread while
+ Otherwise, we would end up reporting a stop event for a thread while
it is running on the remote target. */
remote_state *rs = get_remote_state ();
for (const auto &stop_reply : rs->stop_reply_queue)
@@ -7035,7 +7035,7 @@ remote_target::commit_resumed ()
= remote_thr->resumed_pending_vcont_info ();
/* Check if we need to send a specific action for this thread. If not,
- it will be included in a wildcard resume instead. */
+ it will be included in a wildcard resume instead. */
if (info.step || info.sig != GDB_SIGNAL_0
|| !get_remote_inferior (tp->inf)->may_wildcard_vcont)
vcont_builder.push_action (tp->ptid, info.step, info.sig);
@@ -14732,7 +14732,7 @@ remote_new_objfile (struct objfile *objfile)
continue;
/* Need to switch to a specific thread, because remote_check_symbols will
- set the general thread using INFERIOR_PTID.
+ set the general thread using INFERIOR_PTID.
It's possible to have inferiors with no thread here, because we are
called very early in the connection process, while the inferior is