diff options
author | Tom Tromey <tromey@adacore.com> | 2023-08-14 12:06:12 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-08-15 07:35:17 -0600 |
commit | 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d (patch) | |
tree | 507ccf57479e3b27f2890b3f939683a521d621de /gdb | |
parent | 22b6999fa018bdda7f179d9a9bd1071e9605b307 (diff) | |
download | gdb-2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d.zip gdb-2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d.tar.gz gdb-2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d.tar.bz2 |
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>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 712f9b3..8f300a5 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -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. |