<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_gdb.py, branch benjamin-eval-loop-edit</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-34007: Skip traceback tests if the Program Counter is not available. (GH-9018)</title>
<updated>2018-08-31T22:04:47+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2018-08-31T22:04:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f2ef51f8bec525b21e52988880c8a029642795ed'/>
<id>f2ef51f8bec525b21e52988880c8a029642795ed</id>
<content type='text'>
Sometimes some versions of the shared libraries that are part of the
traceback are compiled in optimised mode and the Program Counter (PC)
is not present, not allowing gdb to walk the frames back. When this
happens, the Python bindings of gdb raise an exception, making the
test impossible to succeed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes some versions of the shared libraries that are part of the
traceback are compiled in optimised mode and the Program Counter (PC)
is not present, not allowing gdb to walk the frames back. When this
happens, the Python bindings of gdb raise an exception, making the
test impossible to succeed.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-6754)" (#7723)</title>
<updated>2018-06-15T20:54:35+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-15T20:54:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f9cbaa8b2190b6dfd3157ede9b6973523a3b939'/>
<id>2f9cbaa8b2190b6dfd3157ede9b6973523a3b939</id>
<content type='text'>
This reverts commit 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (#6754)</title>
<updated>2018-06-15T15:56:24+00:00</updated>
<author>
<name>Marcel Plch</name>
<email>gmarcel.plch@gmail.com</email>
</author>
<published>2018-06-15T15:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9b7c74ca32d1bec7128d550a9ab1b2ddc7046287'/>
<id>9b7c74ca32d1bec7128d550a9ab1b2ddc7046287</id>
<content type='text'>
When Python is built with the intel control-flow protection flags,
-mcet -fcf-protection, gdb is not able to read the stack without
actually jumping inside the function. This means an extra
'next' command is required to make the $pc (program counter)
enter the function and make the stack of the function exposed to gdb.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Python is built with the intel control-flow protection flags,
-mcet -fcf-protection, gdb is not able to read the stack without
actually jumping inside the function. This means an extra
'next' command is required to make the $pc (program counter)
enter the function and make the stack of the function exposed to gdb.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31370: Remove support for threads-less builds (#3385)</title>
<updated>2017-09-07T16:56:24+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-07T16:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344'/>
<id>a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344</id>
<content type='text'>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #29263: LOAD_METHOD support for C methods</title>
<updated>2017-02-02T22:43:03+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2017-02-02T22:43:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5566bbb8d563646d83e8172410fa0c085e8233b1'/>
<id>5566bbb8d563646d83e8172410fa0c085e8233b1</id>
<content type='text'>
Calling builtin method is at most 10% faster.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling builtin method is at most 10% faster.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_gdb.test_wrapper_call() on Python 2</title>
<updated>2017-02-01T17:26:14+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-01T17:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=72268ae1c0f4bf4071c6e70bb6a332848a132d5d'/>
<id>72268ae1c0f4bf4071c6e70bb6a332848a132d5d</id>
<content type='text'>
Issue #29367. On Python 2, __init__ name is render as u'__init__'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29367. On Python 2, __init__ name is render as u'__init__'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make test_gdb.test_wrapper_call() make reliable</title>
<updated>2017-02-01T16:00:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-01T16:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f94b68a025e9b35d5b612d815818b4e9e1c55fcc'/>
<id>f94b68a025e9b35d5b612d815818b4e9e1c55fcc</id>
<content type='text'>
Issue #29367. Use two break points to prevent breakpoint during Python
initialization.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29367. Use two break points to prevent breakpoint during Python
initialization.
</pre>
</div>
</content>
</entry>
<entry>
<title>python-gdb.py supports method-wrapper</title>
<updated>2017-02-01T15:29:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-02-01T15:29:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=611083331d534481ca7956a376e38fb0e9ef3854'/>
<id>611083331d534481ca7956a376e38fb0e9ef3854</id>
<content type='text'>
Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update and enhance python-gdb.py</title>
<updated>2017-01-18T16:20:01+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-01-18T16:20:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fa025f112f7467b124f7ac4be5e9c7bb3cc05ad8'/>
<id>fa025f112f7467b124f7ac4be5e9c7bb3cc05ad8</id>
<content type='text'>
Issue #29259:

* Detect PyCFunction is the current frame, not only in the older frame
* Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and
  _PyCFunction_FastCallDict() is already detected
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #29259:

* Detect PyCFunction is the current frame, not only in the older frame
* Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and
  _PyCFunction_FastCallDict() is already detected
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28770: Update python-gdb.py for fastcalls</title>
<updated>2016-11-22T21:53:18+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-11-22T21:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e3d75c63cd100675f96cd5c152ccd021ba9e6ebb'/>
<id>e3d75c63cd100675f96cd5c152ccd021ba9e6ebb</id>
<content type='text'>
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the &lt;built-in id method of module ...&gt; frame.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the &lt;built-in id method of module ...&gt; frame.
</pre>
</div>
</content>
</entry>
</feed>
