2 pythondir: /usr/lib/python2.6/site-packages/gdb
5 prefix got set to "/usr/lib" but the code expects a trailing "/" (missing then
6 one "../" path component).
8 --- ./libstdc++-v3-python-r151798/hook.in-orig 2009-06-18 21:12:37.000000000 +0200
9 +++ ./libstdc++-v3-python-r151798/hook.in 2009-09-17 23:37:35.000000000 +0200
10 @@ -40,7 +40,7 @@ if gdb.current_objfile () is not None:
11 # In some bizarre configuration we might have found a match in the
12 # middle of a directory name.
14 - prefix = os.path.dirname (prefix)
15 + prefix = os.path.dirname (prefix) + '/'
17 # Strip off the prefix.
18 pythondir = pythondir[len (prefix):]