From a7abb051dcb7cc730a527039b962fe9415a6486f Mon Sep 17 00:00:00 2001 From: jaortega Date: Mon, 12 Mar 2001 01:20:22 +0000 Subject: minor changes --- mixlib/mix_vm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mixlib/mix_vm.c') diff --git a/mixlib/mix_vm.c b/mixlib/mix_vm.c index 0a885d8..9a39247 100644 --- a/mixlib/mix_vm.c +++ b/mixlib/mix_vm.c @@ -496,6 +496,14 @@ mix_vm_set_breakpoint_address (mix_vm_t *vm, guint address) return MIX_VM_BP_OK; } +gboolean +mix_vm_has_breakpoint_at_address (const mix_vm_t *vm, guint address) +{ + g_return_val_if_fail (vm != NULL, FALSE); + if (address >= MIX_VM_CELL_NO) return FALSE; + return (bp_is_set_ (vm, address)); +} + static gint clear_break_ (gpointer key, gpointer value, gpointer data) { -- cgit v1.2.3