diff options
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 92003c9..ecfaab7 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -1,6 +1,6 @@ /* Native debugging support for GNU/Linux (LWP layer). - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 + Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -83,3 +83,11 @@ struct lwp_info *iterate_over_lwps (int (*callback) (struct lwp_info *, /* Create a prototype generic Linux target. The client can override it with local methods. */ struct target_ops * linux_target (void); + +/* Register the customized Linux target. This should be used + instead of calling add_target directly. */ +void linux_nat_add_target (struct target_ops *); + +/* Update linux-nat internal state when changing from one fork + to another. */ +void linux_nat_switch_fork (ptid_t new_ptid); |