diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2021-01-02 13:51:27 +0100 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2021-01-21 18:55:45 +0100 |
commit | 325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec (patch) | |
tree | 4f977273e946326896d6961751d7eebd26199d00 /install-sh | |
parent | 7cb6d92a3f723f26830ca23b39ec94c2920936c4 (diff) | |
download | gdb-325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec.zip gdb-325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec.tar.gz gdb-325d39e4e09f0b7c8eec7e33ca93d0a9c82632ec.tar.bz2 |
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.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions