[PATCH V5 3/5] Add bound related fields to the siginfo structure
Pedro Alves
palves@redhat.com
Thu Jan 28 12:23:00 GMT 2016
On 01/22/2016 02:54 PM, Walfred Tedeschi wrote:
> Both Linux and glibc have introduced bound related fields in the segmentation fault fields of the
> siginfo_t type. Ass the new fields to our x86's siginfo_t type too.
"Add the " ...
> @@ -342,6 +344,18 @@ linux_get_siginfo_type_with_fields (struct gdbarch *gdbarch,
> /* _sigfault */
> type = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
> append_composite_type_field (type, "si_addr", void_ptr_type);
> +
> + /* additional bound fields for _sigfault in case they are added. */
"Additional", uppercase.
"in case they were requested.".
> + if ((extra_fields & LINUX_SIGINFO_FIELD_ADDR_BND) != 0)
> + {
OK with those changes.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list