aboutsummaryrefslogtreecommitdiff
path: root/gdb/process-stratum-target.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/process-stratum-target.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/process-stratum-target.h')
-rw-r--r--gdb/process-stratum-target.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/process-stratum-target.h b/gdb/process-stratum-target.h
index dcbca5a..0cd7684 100644
--- a/gdb/process-stratum-target.h
+++ b/gdb/process-stratum-target.h
@@ -31,6 +31,7 @@
class process_stratum_target : public target_ops
{
public:
+
~process_stratum_target () override = 0;
strata stratum () const final override { return process_stratum; }
@@ -48,7 +49,9 @@ public:
/* We must default these because they must be implemented by any
target that can run. */
bool can_async_p () override { return false; }
+
bool supports_non_stop () override { return false; }
+
bool supports_disable_randomization () override { return false; }
/* This default implementation returns the inferior's address
@@ -101,12 +104,14 @@ public:
/* Return true if this target has at least one resumed thread with a pending
wait status. */
bool has_resumed_with_pending_wait_status () const
- { return !m_resumed_with_pending_wait_status.empty (); }
+ {
+ return !m_resumed_with_pending_wait_status.empty ();
+ }
/* Return a random resumed thread with pending wait status belonging to INF
and matching FILTER_PTID. */
- thread_info *random_resumed_with_pending_wait_status
- (inferior *inf, ptid_t filter_ptid);
+ thread_info *random_resumed_with_pending_wait_status (inferior *inf,
+ ptid_t filter_ptid);
/* The connection number. Visible in "info connections". */
int connection_number = 0;
@@ -144,6 +149,7 @@ public:
bool commit_resumed_state = false;
private:
+
/* List of threads managed by this target which simultaneously are resumed
and have a pending wait status.