summaryrefslogtreecommitdiff
path: root/breakpoints.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-01-10 20:02:58 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:24 +0900
commit0e9ae1679f41d6b2be49933907725a1dc4a7dfee (patch)
treec89fea5a71775c4808fa54f579e71a319da05629 /breakpoints.c
parent8d1dc2a818ecc9ec5c777691b55bde4e62e6d5b4 (diff)
downloadltrace-0e9ae1679f41d6b2be49933907725a1dc4a7dfee.tar.gz
ltrace-0e9ae1679f41d6b2be49933907725a1dc4a7dfee.tar.bz2
ltrace-0e9ae1679f41d6b2be49933907725a1dc4a7dfee.zip
Drop unused function enable_all_breakpoints
Diffstat (limited to 'breakpoints.c')
-rw-r--r--breakpoints.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/breakpoints.c b/breakpoints.c
index ebb22d6..947cb71 100644
--- a/breakpoints.c
+++ b/breakpoints.c
@@ -372,27 +372,6 @@ breakpoint_library(const struct breakpoint *bp)
}
static enum callback_status
-enable_bp_cb(arch_addr_t *addr, struct breakpoint **bpp, void *data)
-{
- struct process *proc = data;
- debug(DEBUG_FUNCTION, "enable_bp_cb(pid=%d)", proc->pid);
- if ((*bpp)->enabled)
- enable_breakpoint(proc, *bpp);
- return CBS_CONT;
-}
-
-void
-enable_all_breakpoints(struct process *proc)
-{
- debug(DEBUG_FUNCTION, "enable_all_breakpoints(pid=%d)", proc->pid);
-
- debug(1, "Enabling breakpoints for pid %u...", proc->pid);
- if (proc->breakpoints != NULL)
- DICT_EACH(proc->breakpoints, arch_addr_t, struct breakpoint *,
- NULL, enable_bp_cb, proc);
-}
-
-static enum callback_status
disable_bp_cb(arch_addr_t *addr, struct breakpoint **bpp, void *data)
{
struct process *proc = data;