[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

STINNER Victor report at bugs.python.org
Thu Jun 14 16:33:57 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

> Wouldn't be better to use the "surrogateescape" or the "backslashreplace" error handlers?

Are you talking about my https://github.com/python/cpython/pull/7693 fix? If yes, the error comes from the string() method which comes from the gdb API. I don't see how to control how gdb decodes bytes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32962>
_______________________________________


More information about the Python-bugs-list mailing list