]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/linux-nat.h
* linux-nat.c (linux_register_u_offset): Remove.
[thirdparty/binutils-gdb.git] / gdb / linux-nat.h
index 744a392ce42001fc399ecb2baa48f8c125b0bec8..997a0f4716f6804d4e1f46f000020812b303e772 100644 (file)
@@ -88,6 +88,11 @@ struct lwp_info *iterate_over_lwps (int (*callback) (struct lwp_info *,
    override it with local methods.  */
 struct target_ops * linux_target (void);
 
+/* Create a generic GNU/Linux target using traditional 
+   ptrace register access.  */
+struct target_ops *
+linux_trad_target (CORE_ADDR (*register_u_offset)(int));
+
 /* Register the customized GNU/Linux target.  This should be used
    instead of calling add_target directly.  */
 void linux_nat_add_target (struct target_ops *);