Update Gnulib to the latest git version
[deliverable/binutils-gdb.git] / gdb / linux-tdep.h
index b2680f83f9c531739c637095c5851b41b6514ca9..913045a954e6d97a40811f3b12ae56af291b9d2c 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for GNU/Linux, architecture independent.
 
-   Copyright (C) 2009-2016 Free Software Foundation, Inc.
+   Copyright (C) 2009-2019 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -36,6 +36,11 @@ enum linux_siginfo_extra_field_values
 DEF_ENUM_FLAGS_TYPE (enum linux_siginfo_extra_field_values,
                     linux_siginfo_extra_fields);
 
+/* This function is suitable for architectures that
+   extend/override the standard siginfo in a specific way.  */
+struct type *linux_get_siginfo_type_with_fields (struct gdbarch *gdbarch,
+                                                linux_siginfo_extra_fields);
+
 typedef char *(*linux_collect_thread_registers_ftype) (const struct regcache *,
                                                       ptid_t,
                                                       bfd *, char *, int *,
@@ -56,4 +61,12 @@ extern void linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
 
 extern int linux_is_uclinux (void);
 
+/* Fetch the AT_HWCAP entry from the auxv vector for the given TARGET.  On
+   error, 0 is returned.  */
+extern CORE_ADDR linux_get_hwcap (struct target_ops *target);
+
+/* Fetch the AT_HWCAP2 entry from the auxv vector for the given TARGET.  On
+   error, 0 is returned.  */
+extern CORE_ADDR linux_get_hwcap2 (struct target_ops *target);
+
 #endif /* linux-tdep.h */
This page took 0.025446 seconds and 4 git commands to generate.