aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-14 12:06:12 -0600
committerTom Tromey <tromey@adacore.com>2023-08-15 07:35:17 -0600
commit2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d (patch)
tree507ccf57479e3b27f2890b3f939683a521d621de /gdb
parent22b6999fa018bdda7f179d9a9bd1071e9605b307 (diff)
downloadgdb-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.h2
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.