mirror of git://gcc.gnu.org/git/gcc.git
re PR libstdc++/65246 (libstdc++ pretty printers don't work anymore with Python3)
2015-02-28 Matthias Klose <doko@ubuntu.com>
PR libstdc++/65246
* python/libstdcxx/v6/__init__.py: Use explicit relative imports.
From-SVN: r221076
This commit is contained in:
parent
116a394eab
commit
f083b434c2
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-02-28 Matthias Klose <doko@ubuntu.com>
|
||||||
|
|
||||||
|
PR libstdc++/65246
|
||||||
|
* python/libstdcxx/v6/__init__.py: Use explicit relative imports.
|
||||||
|
|
||||||
2015-02-22 Jonathan Wakely <jwakely@redhat.com>
|
2015-02-22 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
|
* doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
import gdb
|
import gdb
|
||||||
|
|
||||||
# Load the pretty-printers.
|
# Load the pretty-printers.
|
||||||
from printers import register_libstdcxx_printers
|
from .printers import register_libstdcxx_printers
|
||||||
register_libstdcxx_printers(gdb.current_objfile())
|
register_libstdcxx_printers(gdb.current_objfile())
|
||||||
|
|
||||||
# Load the xmethods if GDB supports them.
|
# Load the xmethods if GDB supports them.
|
||||||
|
|
@ -28,5 +28,5 @@ def gdb_has_xmethods():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if gdb_has_xmethods():
|
if gdb_has_xmethods():
|
||||||
from xmethods import register_libstdcxx_xmethods
|
from .xmethods import register_libstdcxx_xmethods
|
||||||
register_libstdcxx_xmethods(gdb.current_objfile())
|
register_libstdcxx_xmethods(gdb.current_objfile())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue