Preparation for new siginfo on Linux
[deliverable/binutils-gdb.git] / gdb / linux-tdep.h
index 328c7f09b04b54d4bff858909a4aa24b0469d1c2..b2680f83f9c531739c637095c5851b41b6514ca9 100644 (file)
 
 struct regcache;
 
+/* Enum used to define the extra fields of the siginfo type used by an
+   architecture.  */
+enum linux_siginfo_extra_field_values
+{
+  /* Add bound fields into the segmentation fault field.  */
+  LINUX_SIGINFO_FIELD_ADDR_BND = 1
+};
+
+/* Defines a type for the values defined in linux_siginfo_extra_field_values.  */
+DEF_ENUM_FLAGS_TYPE (enum linux_siginfo_extra_field_values,
+                    linux_siginfo_extra_fields);
+
 typedef char *(*linux_collect_thread_registers_ftype) (const struct regcache *,
                                                       ptid_t,
                                                       bfd *, char *, int *,
This page took 0.024789 seconds and 4 git commands to generate.