aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/python
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-09-18 20:03:47 +0000
committerTom Tromey <tromey@gcc.gnu.org>2009-09-18 20:03:47 +0000
commit172d0c86838196561037b8766f231da85c7bd45c (patch)
treedcd75115d8f68db2fd94c986db8a05df985df542 /libstdc++-v3/python
parenteb99f777b117a9f9007d88f0a45ea62fcf4b22b5 (diff)
downloadgcc-172d0c86838196561037b8766f231da85c7bd45c.zip
gcc-172d0c86838196561037b8766f231da85c7bd45c.tar.gz
gcc-172d0c86838196561037b8766f231da85c7bd45c.tar.bz2
hook.in: Fix prefix trailing slash on 64bit host arches.
2009-09-18 Jan Kratochvil <jan.kratochvil@redhat.com> * python/hook.in: Fix prefix trailing slash on 64bit host arches. From-SVN: r151866
Diffstat (limited to 'libstdc++-v3/python')
-rw-r--r--libstdc++-v3/python/hook.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/python/hook.in b/libstdc++-v3/python/hook.in
index 120e187..d4c290f 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):]