From 08080f9744094772e935204a9d59a101da83a801 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 5 May 2021 16:53:09 +0100 Subject: gdb/guile: allow for catchpoint type breakpoints in guile This commit adds initial support for catchpoints to the guile breakpoint API. This commit adds a BP_CATCHPOINT constant which corresponds to GDB's internal bp_catchpoint. The new constant is documented in the manual. The user can't create breakpoints with type BP_CATCHPOINT after this commit, but breakpoints that already exist, obtained with the (breakpoints) function, can now have this type. gdb/ChangeLog: * guile/scm-breakpoint.c (bpscm_type_to_string): Handle bp_catchpoint. (bpscm_want_scm_wrapper_p): Likewise. (gdbscm_make_breakpoint): Likewise. (breakpoint_integer_constants): Likewise. gdb/doc/ChangeLog: * guile.texinfo (Breakpoints In Guile): Add BP_CATCHPOINT description. gdb/testsuite/ChangeLog: * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc. --- gdb/doc/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/doc/ChangeLog') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ad0b2e7..1f19783 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2021-06-25 Andrew Burgess + + * guile.texinfo (Breakpoints In Guile): Add BP_CATCHPOINT + description. + 2021-06-21 Andrew Burgess * gdb.texinfo (RISC-V Features): Mention vector register feature. -- cgit v1.1