summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-18 20:03:47 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-18 20:03:47 +0000
commitb054b503d350bdea7222aa6be36c118ffa2d141d (patch)
treedcd75115d8f68db2fd94c986db8a05df985df542 /libstdc++-v3
parente0b41cd1ce535eebcf0af1830a75929622bd09d6 (diff)
downloadgcc-b054b503d350bdea7222aa6be36c118ffa2d141d.tar.gz
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* python/hook.in: Fix prefix trailing slash on 64bit host arches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/python/hook.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 32a48157936..1af05f7f3dc 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * python/hook.in: Fix prefix trailing slash on 64bit host arches.
+
2009-09-17 Joseph Myers <joseph@codesourcery.com>
* testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New.
diff --git a/libstdc++-v3/python/hook.in b/libstdc++-v3/python/hook.in
index 120e187ed19..d4c290f82cd 100644
--- a/libstdc++-v3/python/hook.in
+++ b/libstdc++-v3/python/hook.in
@@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
# In some bizarre configuration we might have found a match in the
# middle of a directory name.
if prefix[-1] != '/':
- prefix = os.path.dirname (prefix)
+ prefix = os.path.dirname (prefix) + '/'
# Strip off the prefix.
pythondir = pythondir[len (prefix):]