diff options
author | Petr Machata <pmachata@redhat.com> | 2014-01-09 23:50:07 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:24 +0900 |
commit | aa7a88a347fda1b709ed18745f832e15441125dd (patch) | |
tree | dd7e1a9375c522030676c104930f54ea24911cf1 /proc.h | |
parent | 159fe9b8655a81b1e41f8039e58c0e2cbbd08929 (diff) | |
download | ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.gz ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.tar.bz2 ltrace-aa7a88a347fda1b709ed18745f832e15441125dd.zip |
Type proc_each_breakpoint properly
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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. |