summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2014-01-09 23:50:07 +0100
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:24 +0900
commitaa7a88a347fda1b709ed18745f832e15441125dd (patch)
treedd7e1a9375c522030676c104930f54ea24911cf1 /proc.h
parent159fe9b8655a81b1e41f8039e58c0e2cbbd08929 (diff)
downloadltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.gz
ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.bz2
ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.zip
Type proc_each_breakpoint properly
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/proc.h b/proc.h
index 35943c3..a88546e 100644
--- a/proc.h
+++ b/proc.h
@@ -1,6 +1,6 @@
/*
* This file is part of ltrace.
- * Copyright (C) 2010,2011,2012,2013 Petr Machata, Red Hat Inc.
+ * Copyright (C) 2010,2011,2012,2013,2014 Petr Machata, Red Hat Inc.
* Copyright (C) 2010 Joe Damato
* Copyright (C) 1998,2001,2008,2009 Juan Cespedes
*
@@ -226,11 +226,12 @@ void proc_remove_breakpoint(struct process *proc, struct breakpoint *bp);
/* Iterate through the breakpoints of PROC. See callback.h for notes
* on iteration interfaces. */
-void *proc_each_breakpoint(struct process *proc, void *start,
- enum callback_status (*cb)(struct process *proc,
- struct breakpoint *bp,
- void *data),
- void *data);
+arch_addr_t *proc_each_breakpoint(struct process *proc, arch_addr_t *start,
+ enum callback_status (*cb)
+ (struct process *proc,
+ struct breakpoint *bp,
+ void *data),
+ void *data);
/* Iterate through the dynamic section at src_addr looking for D_TAG.
* If tag is found, fill it's value in RET and return 0.