diff options
Diffstat (limited to 'gdbsupport')
-rw-r--r-- | gdbsupport/common-inferior.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdbsupport/common-inferior.h b/gdbsupport/common-inferior.h index 5e12212..92c880e 100644 --- a/gdbsupport/common-inferior.h +++ b/gdbsupport/common-inferior.h @@ -32,9 +32,10 @@ extern const char *get_exec_wrapper (); otherwise return 0 in that case. */ extern const 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 (); +/* Return the inferior's current working directory. + + If it is not set, the string is empty. */ +extern const std::string &get_inferior_cwd (); /* Whether to start up the debuggee under a shell. |