aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/lib/gdb/prompt.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b897516..b7ea3a6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
+
+ * python/lib/gdb/prompt.py (_prompt_pwd): Use os.getcwd() instead of
+ os.getcwdu().
+
2014-12-15 Catalin Udma <catalin.udma@freescale.com>
PR gdb/15684
diff --git a/gdb/python/lib/gdb/prompt.py b/gdb/python/lib/gdb/prompt.py
index d99f2ea..04adbfb 100644
--- a/gdb/python/lib/gdb/prompt.py
+++ b/gdb/python/lib/gdb/prompt.py
@@ -21,7 +21,7 @@ import os
def _prompt_pwd(ignore):
"The current working directory."
- return os.getcwdu()
+ return os.getcwd()
def _prompt_object_attr(func, what, attr, nattr):
"""Internal worker for fetching GDB attributes."""