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

2012-12-07 Thread Mark Shroyer

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



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

2012-12-07 Thread Mark Shroyer

Mark Shroyer added the comment:

Example of GDB session exhibiting this error:

https://gist.github.com/4228342#file_gdb_output.txt

Thread on python-list:

http://mail.python.org/pipermail/python-list/2012-December/636244.html

--

___
Python tracker 
<http://bugs.python.org/issue16637>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com