https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743

--- Comment #10 from Ralf Habacker <ralf.habacker at freenet dot de> ---
(In response to Jonathan Wakely from comment #9)
> 
> Does the difference cause an actual problem? 

The installed *.dll-gdb.py needs to be moved to a different location for gdb to
find it.  Without this patch it would be in 

   /usr/i686-w64-mingw32/sys-root/mingw/lib/gcc/i686-w64-mingw32/13.2.0/bin/

which gdb is not aware of. Instead, it must be installed in 

   /usr/i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll-gdb.py

For the other files python files is 

    /usr/i686-w64-mingw32/sys-root/mingw/share/<package>/python 
or 
    /usr/i686-w64-mingw32/sys-root/mingw/share/<package>/gdb 

is the file system standard.

Currently used is 

     /usr/i686-w64-mingw32/sys-root/mingw/share/gcc-13.2.0/python 

If this can't be solved with the existing path definitions, how about adding an
additional variable for the installation prefix of the pretty printer?

Reply via email to