aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/pathstuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/pathstuff.h')
-rw-r--r--gdb/common/pathstuff.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/common/pathstuff.h b/gdb/common/pathstuff.h
index a43b963..0a8caea 100644
--- a/gdb/common/pathstuff.h
+++ b/gdb/common/pathstuff.h
@@ -64,4 +64,9 @@ extern bool contains_dir_separator (const char *path);
extern std::string get_standard_cache_dir ();
+/* Return the file name of the user's shell. Normally this comes from
+ the SHELL environment variable. */
+
+extern const char *get_shell ();
+
#endif /* PATHSTUFF_H */