This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年12月18日 16:30 by vstinner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| gdb.patch | vstinner, 2011年12月18日 16:30 | |||
| Messages (4) | |||
|---|---|---|---|
| msg149778 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年12月18日 16:30 | |
If Python is compiled with gcc -O3, gdb is unable to get the f argument of PyEval_EvalFrameEx(). It is possible to retrieve "f" from the caller, PyEval_EvalCodeEx(). Attached patch tries to implement this idea and enable more test_gdb tests on optimized Python. The patch has a problem because some tests fails if Python is not optimized (Python compiled in debug mode). -- The patch fix other minor bugs in libpython.py related to optimized Python. |
|||
| msg149852 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年12月19日 12:45 | |
New changeset 0b03cb97dac0 by Victor Stinner in branch '3.2': Issue #13628: python-gdb.py is now able to retrieve more frames in the Python http://hg.python.org/cpython/rev/0b03cb97dac0 New changeset 5e3a172bba89 by Victor Stinner in branch 'default': (Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames in http://hg.python.org/cpython/rev/5e3a172bba89 |
|||
| msg149854 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年12月19日 12:58 | |
New changeset 1cc8e9565339 by Victor Stinner in branch '2.7': Issue #13628: python-gdb.py is now able to retrieve more frames in the Python http://hg.python.org/cpython/rev/1cc8e9565339 |
|||
| msg149855 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年12月19日 12:59 | |
> It is possible to retrieve "f" from the caller, PyEval_EvalCodeEx() It does not always work, but it works sometimes, so it's better to try :-) I applied my fix to Python 2.7, 3.2 and 3.3. lipython.py of Python 2.7 is outdated, it should be resynchronized with the one of Python 3.3. I will do that later and in another issue. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:24 | admin | set | github: 57837 |
| 2011年12月19日 12:59:40 | vstinner | set | status: open -> closed resolution: fixed messages: + msg149855 |
| 2011年12月19日 12:58:24 | python-dev | set | messages: + msg149854 |
| 2011年12月19日 12:45:18 | python-dev | set | nosy:
+ python-dev messages: + msg149852 |
| 2011年12月19日 01:16:07 | jcea | set | nosy:
+ jcea |
| 2011年12月19日 00:29:47 | meador.inge | set | nosy:
+ meador.inge |
| 2011年12月19日 00:26:49 | meador.inge | set | type: behavior components: + Demos and Tools stage: patch review |
| 2011年12月18日 19:14:25 | pitrou | set | nosy:
+ dmalcolm |
| 2011年12月18日 16:30:27 | vstinner | create | |