Split create-breakpoint! into make-breakpoint, register-breakpoint!.
authorDoug Evans <xdje42@gmail.com>
Thu, 5 Jun 2014 02:44:30 +0000 (19:44 -0700)
committerDoug Evans <xdje42@gmail.com>
Thu, 5 Jun 2014 02:44:30 +0000 (19:44 -0700)
commit16f691fb2ebac790fccf04c29a7027cfab50589b
tree56097a5188b65db1c2deefcc6c6889faf98475cf
parentc5cad97c384b81c6b492007a75fd330058c110f6
Split create-breakpoint! into make-breakpoint, register-breakpoint!.
Rename breakpoint-delete! to delete-breakpoint!.

* guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
is_scheme_bkpt, spec.
(bpscm_make_breakpoint_smob): Initialize new members.
(gdbscm_create_breakpoint_x): Split into two ...
(gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
(bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
(scheme_function breakpoint_functions): Update.
* guile/lib/gdb.scm: Delete create-breakpoint!.  Rename
breakpoint-delete! to delete-breakpoint!.  Add make-breakpoint,
register-breakpoint!.

testsuite/
* gdb.guile/scm-breakpoint.exp: Update.
Add tests for breakpoint registration.

doc/
* guile.texi (Breakpoints In Guile): Update.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/guile.texi
gdb/guile/lib/gdb.scm
gdb/guile/scm-breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-breakpoint.exp