Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] Use Python safety API for breakpoint locations
@ 2026-10-14 14:08 Tom Tromey
  2026-10-14 14:08 ` [PATCH 1/5] Rewrite gdb.BreakpointLocation repr method Tom Tromey
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tom Tromey @ 2026-10-14 14:08 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

This series changes the breakpoint location code to use the Python
safety API.

Tested on x86-64 Fedora 40.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (5):
      Rewrite gdb.BreakpointLocation repr method
      Move two macros from python-internal.h to py-breakpoint.c
      Add require_valid to Python breakpoint and breakpoint location
      Rewrite breakpoint location getter methods
      Rewrite gdb.BreakpointLocation setter

 gdb/python/py-breakpoint.c   | 371 ++++++++++++++++++++++---------------------
 gdb/python/py-ref.h          |   7 +
 gdb/python/py-wrappers.h     |  10 ++
 gdb/python/python-internal.h |  26 +--
 4 files changed, 209 insertions(+), 205 deletions(-)
---
base-commit: 692a398424b5468c17843b68faefa26169d961a1
change-id: 20261014-python-safety-breakpoint-6f2868b31b69

Best regards,
-- 
Tom Tromey <tom@tromey.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-14 14:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:08 [PATCH 0/5] Use Python safety API for breakpoint locations Tom Tromey
2026-10-14 14:08 ` [PATCH 1/5] Rewrite gdb.BreakpointLocation repr method Tom Tromey
2026-10-14 14:08 ` [PATCH 2/5] Move two macros from python-internal.h to py-breakpoint.c Tom Tromey
2026-10-14 14:08 ` [PATCH 3/5] Add require_valid to Python breakpoint and breakpoint location Tom Tromey
2026-10-14 14:08 ` [PATCH 4/5] Rewrite breakpoint location getter methods Tom Tromey
2026-10-14 14:08 ` [PATCH 5/5] Rewrite gdb.BreakpointLocation setter Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox