Issue 16637: py-bt, py-locals, etc. GDB commands fail with output-radix 16 (original) (raw)
When debugging a Python process in GDB with output-radix 16, the py-bt, py-locals, py-value, etc. commands from python-gdb.py fail with messages like "(unable to read python frame information)".
The problem comes down to the int_from_int function attempting to convert its string argument from a base-10 integer representation, even if that string is something like "0xf". The attached patch fixes this.