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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16637>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to