You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python-gdb.py doesn't support float numbers #163039
Currently, python-gdb.py doesn't support Python float numbers:
$ gdb ./python
(gdb) b builtin_id
Breakpoint 1 at 0x896671: file Python/clinic/bltinmodule.c.h, line 752.
(gdb) run
>>> id(1.0)
Breakpoint 1, builtin_id (self=<module at remote 0x7ffff7c285f0>, v=v@entry=<float at remote 0x7ffff7bfcbb0>) at Python/clinic/bltinmodule.c.h:752
752 {
(gdb) p v
$1 = <float at remote 0x7ffff7bfcbb0>
It would be helpful to support float to help debugging issues involving floating point numbers.
Activity
pythongh-163039: Add support for float to python-gdb.py
gh-163039: Add support for float to python-gdb.py (#163040)
[3.15] gh-163039: Add support for float to python-gdb.py (GH-163040) (#…
[3.14] gh-163039: Add support for float to python-gdb.py (GH-163040) (#…