aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/inferiors.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/inferiors.h')
-rw-r--r--gdbserver/inferiors.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbserver/inferiors.h b/gdbserver/inferiors.h
index f3ba4d8..6de746c 100644
--- a/gdbserver/inferiors.h
+++ b/gdbserver/inferiors.h
@@ -75,6 +75,13 @@ struct process_info
/* Flag to mark that the DLL list has changed. */
bool dlls_changed = false;
+
+ /* True if the inferior is starting up (inside startup_inferior),
+ and we're nursing it along (through the shell) until it is ready
+ to execute its first instruction. Until that is done, we must
+ not access inferior memory or registers, as we haven't determined
+ the target architecture/description. */
+ bool starting_up = false;
};
/* Get the pid of PROC. */