COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' 
--with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs 
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-8 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-libstdcxx-time=yes 
--with-default-libstdcxx-abi=new --enable-gnu-unique-object 
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie 
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto 
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none --without-cuda-driver 
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
--target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6)

We are noticing some problems using GDB with printers.py

Problem 1:  the function find_type was changed such that search now uses 
typ.unqualified() instead of typ.name.   In the case of a class, the former 
prepends class to the search string so that when it runs 
gdb.lookup_type(search), it does not find the definition.   If I switch it back 
to typ.name, this function works

Problem 2:  We are seeing an error in strip_versioned_namespace

  File 
"/usr/lib/x86_64-linux-gnu/../../share/gcc-8/python/libstdcxx/v6/printers.py", 
line 668, in __init__
      self.typename = strip_versioned_namespace(typename)
  File 
"/usr/lib/x86_64-linux-gnu/../../share/gcc-8/python/libstdcxx/v6/printers.py", 
line 114, in strip_versioned_namespace
    return typename.replace(_versioned_namespace, '')
AttributeError: 'gdb.Type' object has no attribute 'replace'
Error occurred in Python command: 'gdb.Type' object has no attribute 'replace'


David Hoyer
Controller Firmware Development
E-Series Storage Group

NetApp
3718 N. Rock Road
Wichita, KS 67226
316-636-8047 phone
316-617-3677 mobile
david.ho...@netapp.com<mailto:david.ho...@lsi.com>
netapp.com<http://www.netapp.com/?ref_source=eSig>

 [http://media.netapp.com/images/netapp-logo-sig-5.gif]

Reply via email to