mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
Use linux_get_siginfo_type_with_fields for x86
Use linux_get_siginfo_type_with_fields for adding bound fields on segmentation fault for i386/amd64 siginfo. 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> gdb/ChangeLog: * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. * i386-linux-tdep.h (x86_linux_get_siginfo_type): New function. * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add x86_linux_get_siginfo_type for the amd64 abi. * i386-linux-tdep.c (x86_linux_get_siginfo_type): New function. (i386_linux_init_abi): Add new function at the i386 ABI initialization.
This commit is contained in:
@@ -243,10 +243,9 @@ get_linux_inferior_data (void)
|
||||
return info;
|
||||
}
|
||||
|
||||
/* This function is suitable for architectures that
|
||||
extend/override the standard siginfo in a specific way. */
|
||||
/* See linux-tdep.h. */
|
||||
|
||||
static struct type *
|
||||
struct type *
|
||||
linux_get_siginfo_type_with_fields (struct gdbarch *gdbarch,
|
||||
linux_siginfo_extra_fields extra_fields)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user