Commit 172d0c86 by Jan Kratochvil Committed by Tom Tromey

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
parent eb99f777
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> 2009-09-17 Joseph Myers <joseph@codesourcery.com>
* testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New. * testsuite/lib/libstdc++.exp (check_v3_target_binary_io): New.
......
...@@ -40,7 +40,7 @@ if gdb.current_objfile () is not None: ...@@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
# In some bizarre configuration we might have found a match in the # In some bizarre configuration we might have found a match in the
# middle of a directory name. # middle of a directory name.
if prefix[-1] != '/': if prefix[-1] != '/':
prefix = os.path.dirname (prefix) prefix = os.path.dirname (prefix) + '/'
# Strip off the prefix. # Strip off the prefix.
pythondir = pythondir[len (prefix):] pythondir = pythondir[len (prefix):]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment