aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/common-inferior.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/common-inferior.h')
-rw-r--r--gdb/common/common-inferior.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/common/common-inferior.h b/gdb/common/common-inferior.h
index 515a8c0..3dcfda3 100644
--- a/gdb/common/common-inferior.h
+++ b/gdb/common/common-inferior.h
@@ -34,4 +34,8 @@ extern char *get_exec_file (int err);
been set, then return NULL. */
extern const char *get_inferior_cwd ();
+/* Set the inferior current working directory. If CWD is NULL, unset
+ the directory. */
+extern void set_inferior_cwd (const char *cwd);
+
#endif /* ! COMMON_INFERIOR_H */