mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Add target_ops argument to to_insert_vfork_catchpoint
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add argument. (target_insert_vfork_catchpoint): Add argument. * target.c (debug_to_insert_vfork_catchpoint): Add argument. (update_current_target): Update. * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' argument.
This commit is contained in:
@ -500,7 +500,7 @@ struct target_ops
|
||||
void (*to_post_startup_inferior) (struct target_ops *, ptid_t);
|
||||
int (*to_insert_fork_catchpoint) (struct target_ops *, int);
|
||||
int (*to_remove_fork_catchpoint) (struct target_ops *, int);
|
||||
int (*to_insert_vfork_catchpoint) (int);
|
||||
int (*to_insert_vfork_catchpoint) (struct target_ops *, int);
|
||||
int (*to_remove_vfork_catchpoint) (int);
|
||||
int (*to_follow_fork) (struct target_ops *, int, int);
|
||||
int (*to_insert_exec_catchpoint) (int);
|
||||
@ -1312,7 +1312,7 @@ void target_create_inferior (char *exec_file, char *args,
|
||||
(*current_target.to_remove_fork_catchpoint) (¤t_target, pid)
|
||||
|
||||
#define target_insert_vfork_catchpoint(pid) \
|
||||
(*current_target.to_insert_vfork_catchpoint) (pid)
|
||||
(*current_target.to_insert_vfork_catchpoint) (¤t_target, pid)
|
||||
|
||||
#define target_remove_vfork_catchpoint(pid) \
|
||||
(*current_target.to_remove_vfork_catchpoint) (pid)
|
||||
|
Reference in New Issue
Block a user