mirror of git://gcc.gnu.org/git/gcc.git
hook.in: Rename variable dir to dir_.
libstdc++-v3/ * python/hook.in: Rename variable dir to dir_. Co-Authored-By: Jan Kratochvil <jan.kratochvil@redhat.com> From-SVN: r162962
This commit is contained in:
parent
7862d49629
commit
cd6b2fa0e7
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-08-06 David Malcolm <dmalcolm@redhat.com>
|
||||||
|
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* python/hook.in: Rename variable dir to dir_.
|
||||||
|
|
||||||
2010-08-06 Jason Merrill <jason@redhat.com>
|
2010-08-06 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
* include/std/thread: Add deleted thread(thread&).
|
* include/std/thread: Add deleted thread(thread&).
|
||||||
|
|
|
||||||
|
|
@ -50,10 +50,10 @@ if gdb.current_objfile () is not None:
|
||||||
dotdots = ('..' + os.sep) * len (libdir.split (os.sep))
|
dotdots = ('..' + os.sep) * len (libdir.split (os.sep))
|
||||||
|
|
||||||
objfile = gdb.current_objfile ().filename
|
objfile = gdb.current_objfile ().filename
|
||||||
dir = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
|
dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)
|
||||||
|
|
||||||
if not dir in sys.path:
|
if not dir_ in sys.path:
|
||||||
sys.path.insert(0, dir)
|
sys.path.insert(0, dir_)
|
||||||
|
|
||||||
# Load the pretty-printers.
|
# Load the pretty-printers.
|
||||||
from libstdcxx.v6.printers import register_libstdcxx_printers
|
from libstdcxx.v6.printers import register_libstdcxx_printers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue