[New-bugs-announce] [issue16637] py-bt, py-locals, etc. GDB commands fail with output-radix 16

Mark Shroyer report at bugs.python.org
Fri Dec 7 19:04:52 CET 2012


New submission from Mark Shroyer:

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.

----------
components: Demos and Tools
files: python_gdb_fix.patch
keywords: patch
messages: 177105
nosy: mshroyer
priority: normal
severity: normal
status: open
title: py-bt, py-locals, etc. GDB commands fail with output-radix 16
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file28244/python_gdb_fix.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16637>
_______________________________________


More information about the New-bugs-announce mailing list