diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/common-inferior.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/common/common-inferior.h b/gdb/common/common-inferior.h index 87c1300..515a8c0 100644 --- a/gdb/common/common-inferior.h +++ b/gdb/common/common-inferior.h @@ -30,4 +30,8 @@ extern const char *get_exec_wrapper (); otherwise return 0 in that case. */ extern char *get_exec_file (int err); +/* Return the inferior's current working directory. If nothing has + been set, then return NULL. */ +extern const char *get_inferior_cwd (); + #endif /* ! COMMON_INFERIOR_H */ |