<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Tools/gdb/libpython.py, branch alex-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-36974: separate vectorcall functions for each calling convention (GH-13781)</title>
<updated>2019-07-05T12:48:24+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-05T12:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0d722f3cd602e5f5492f9c65c8af57ea9d3743b6'/>
<id>0d722f3cd602e5f5492f9c65c8af57ea9d3743b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)</title>
<updated>2019-06-20T15:38:45+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-06-20T15:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7e1a9aacff95c68d284f31666fe293fa2db5406d'/>
<id>7e1a9aacff95c68d284f31666fe293fa2db5406d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: rename _FastCallKeywords -&gt; _Vectorcall (GH-13653)</title>
<updated>2019-05-30T13:11:22+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-30T13:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=37788bc23f6f1ed0362b9b3b248daf296c024849'/>
<id>37788bc23f6f1ed0362b9b3b248daf296c024849</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36974: Fix GDB integration (GH-13665)</title>
<updated>2019-05-29T20:45:41+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2019-05-29T20:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fecb75c1bb46c818e6579ba422cfa5d0d9d104d1'/>
<id>fecb75c1bb46c818e6579ba422cfa5d0d9d104d1</id>
<content type='text'>
As it changes the way functions are called, the PEP 590 implementation
skipped the functions that the GDB integration is looking for
(by name) to find function calls.

Looking for the new helper `cfunction_call_varargs` hopefully fixes the
tests, and thus buildbots.

The changed frame nuber in test_gdb is due to there being fewer
C calls when calling a built-in method.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As it changes the way functions are called, the PEP 590 implementation
skipped the functions that the GDB integration is looking for
(by name) to find function calls.

Looking for the new helper `cfunction_call_varargs` hopefully fixes the
tests, and thus buildbots.

The changed frame nuber in test_gdb is due to there being fewer
C calls when calling a built-in method.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)</title>
<updated>2019-03-12T03:21:25+00:00</updated>
<author>
<name>Lisa Roach</name>
<email>lisaroach14@gmail.com</email>
</author>
<published>2019-03-12T03:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1ceb3a3d172dcf0ddff38d5d6b559443ad065b84'/>
<id>1ceb3a3d172dcf0ddff38d5d6b559443ad065b84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)</title>
<updated>2018-10-15T21:19:57+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-15T21:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2e438cc2554495b28480a3ffe5cdf41b6ab823a0'/>
<id>2e438cc2554495b28480a3ffe5cdf41b6ab823a0</id>
<content type='text'>
python-gdb.py now handles errors on computing the line number
of a Python frame.

Changes:

* PyFrameObjectPtr.current_line_num() now catchs any Exception on
  calling addr2line(), instead of failing with a surprising "&lt;class
  'TypeError'&gt; 'FakeRepr' object is not subscriptable" error.
* All callers of current_line_num() now handle current_line_num()
  returning None.
* PyFrameObjectPtr.current_line() now also catchs IndexError on
  getting a line from the Python source file.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python-gdb.py now handles errors on computing the line number
of a Python frame.

Changes:

* PyFrameObjectPtr.current_line_num() now catchs any Exception on
  calling addr2line(), instead of failing with a surprising "&lt;class
  'TypeError'&gt; 'FakeRepr' object is not subscriptable" error.
* All callers of current_line_num() now handle current_line_num()
  returning None.
* PyFrameObjectPtr.current_line() now also catchs IndexError on
  getting a line from the Python source file.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)</title>
<updated>2018-06-14T20:34:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-14T20:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d22fc0bc7de7882da204abe50884bbde2da4f9e7'/>
<id>d22fc0bc7de7882da204abe50884bbde2da4f9e7</id>
<content type='text'>
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python-gdb now catchs UnicodeDecodeError exceptions when calling
string().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)</title>
<updated>2018-06-14T14:28:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-14T14:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=019d33b7a447e78057842332fb5d3bad01922122'/>
<id>019d33b7a447e78057842332fb5d3bad01922122</id>
<content type='text'>
python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)</title>
<updated>2018-04-20T18:32:08+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2018-04-20T18:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=53f67d401df40486fd0fb8fbcf9da725cd37290c'/>
<id>53f67d401df40486fd0fb8fbcf9da725cd37290c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (#3153)</title>
<updated>2017-08-21T23:40:29+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-08-21T23:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5fe59f8e3a0a56a155c18f9d581205ec533764b6'/>
<id>5fe59f8e3a0a56a155c18f9d581205ec533764b6</id>
<content type='text'>
PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on
non-debug shared builds.  This breaks the ability to use py-bt, py-up, and
a few other Python-specific gdb integrations.

This patch fixes the problem by only looking for _PyEval_EvalFrameDefault
frames.

test_gdb passes on both a debug and a non-debug build.

Original patch by Bruno "Polaco" Penteado.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on
non-debug shared builds.  This breaks the ability to use py-bt, py-up, and
a few other Python-specific gdb integrations.

This patch fixes the problem by only looking for _PyEval_EvalFrameDefault
frames.

test_gdb passes on both a debug and a non-debug build.

Original patch by Bruno "Polaco" Penteado.</pre>
</div>
</content>
</entry>
</feed>
