Mention process_stratum in inferior::priv comment

From what I can tell, inferior::priv is reserved for the
process_stratum target.  It seems to me that it has to be, because
currenlty only such targets use it, and if a target at another stratum
started using this field, then conflicts could occur.  This patch
documents this.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
This commit is contained in:
Tom Tromey
2023-08-14 12:06:12 -06:00
parent 22b6999fa0
commit 2a3f442df9

View File

@@ -633,7 +633,7 @@ public:
attach or handling a fork child. */
bool in_initial_library_scan = false;
/* Private data used by the target vector implementation. */
/* Private data used by the process_stratum target. */
std::unique_ptr<private_inferior> priv;
/* HAS_EXIT_CODE is true if the inferior exited with an exit code.