public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/19151] New: No Python API for hardware breakpoints
@ 2015-10-19 3:30 celelibi at gmail dot com
2015-10-23 19:09 ` [Bug python/19151] " OmegaPhil at startmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: celelibi at gmail dot com @ 2015-10-19 3:30 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=19151
Bug ID: 19151
Summary: No Python API for hardware breakpoints
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: celelibi at gmail dot com
Target Milestone: ---
It looks like gdb has no API way of setting a hardware breakpoint.
Which is annoying because implementing the 'stop' method may be the only way to
perform some non-blocking actions.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug python/19151] No Python API for hardware breakpoints
2015-10-19 3:30 [Bug python/19151] New: No Python API for hardware breakpoints celelibi at gmail dot com
@ 2015-10-23 19:09 ` OmegaPhil at startmail dot com
2021-01-15 21:34 ` ssbssa at sourceware dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: OmegaPhil at startmail dot com @ 2015-10-23 19:09 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=19151
OmegaPhil at startmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |OmegaPhil at startmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug python/19151] No Python API for hardware breakpoints
2015-10-19 3:30 [Bug python/19151] New: No Python API for hardware breakpoints celelibi at gmail dot com
2015-10-23 19:09 ` [Bug python/19151] " OmegaPhil at startmail dot com
@ 2021-01-15 21:34 ` ssbssa at sourceware dot org
2021-01-21 17:57 ` cvs-commit at gcc dot gnu.org
2021-01-21 17:59 ` ssbssa at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: ssbssa at sourceware dot org @ 2021-01-15 21:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=19151
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ssbssa at sourceware dot org
--- Comment #3 from Hannes Domani <ssbssa at sourceware dot org> ---
Patch posted here:
https://sourceware.org/pipermail/gdb-patches/2021-January/174634.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug python/19151] No Python API for hardware breakpoints
2015-10-19 3:30 [Bug python/19151] New: No Python API for hardware breakpoints celelibi at gmail dot com
2015-10-23 19:09 ` [Bug python/19151] " OmegaPhil at startmail dot com
2021-01-15 21:34 ` ssbssa at sourceware dot org
@ 2021-01-21 17:57 ` cvs-commit at gcc dot gnu.org
2021-01-21 17:59 ` ssbssa at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-21 17:57 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=19151
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hannes Domani <ssbssa@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec
commit 325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec
Author: Hannes Domani <ssbssa@yahoo.de>
Date: Sat Jan 2 13:51:27 2021 +0100
Add Python support for hardware breakpoints
This allows the creation of hardware breakpoints in Python with
gdb.Breakpoint(type=gdb.BP_HARDWARE_BREAKPOINT)
And they are included in the sequence returned by gdb.breakpoints().
gdb/ChangeLog:
2021-01-21 Hannes Domani <ssbssa@yahoo.de>
PR python/19151
* python/py-breakpoint.c (bppy_get_location): Handle
bp_hardware_breakpoint.
(bppy_init): Likewise.
(gdbpy_breakpoint_created): Likewise.
gdb/doc/ChangeLog:
2021-01-21 Hannes Domani <ssbssa@yahoo.de>
PR python/19151
* python.texi (Breakpoints In Python): Document
gdb.BP_HARDWARE_BREAKPOINT.
gdb/testsuite/ChangeLog:
2021-01-21 Hannes Domani <ssbssa@yahoo.de>
PR python/19151
* gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug python/19151] No Python API for hardware breakpoints
2015-10-19 3:30 [Bug python/19151] New: No Python API for hardware breakpoints celelibi at gmail dot com
` (2 preceding siblings ...)
2021-01-21 17:57 ` cvs-commit at gcc dot gnu.org
@ 2021-01-21 17:59 ` ssbssa at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: ssbssa at sourceware dot org @ 2021-01-21 17:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=19151
Hannes Domani <ssbssa at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |11.1
Status|NEW |RESOLVED
--- Comment #5 from Hannes Domani <ssbssa at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-21 17:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-19 3:30 [Bug python/19151] New: No Python API for hardware breakpoints celelibi at gmail dot com
2015-10-23 19:09 ` [Bug python/19151] " OmegaPhil at startmail dot com
2021-01-15 21:34 ` ssbssa at sourceware dot org
2021-01-21 17:57 ` cvs-commit at gcc dot gnu.org
2021-01-21 17:59 ` ssbssa at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).