This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Replace struct siginfo with siginfo_t


On 07/06/2012 01:45 PM, Chris Webb wrote:
> Glibc 2.16.0 removes the undocumented definition of 'struct siginfo' from
> <bits/siginfo.h>. This struct is also available as the POSIX-defined
> siginfo_t, so replace all uses of struct siginfo with siginfo_t.

Thanks, but this was already fixed by:

2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>

        * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead
        of struct siginfo.
        * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise.
        * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
        * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup)
        (linux_xfer_siginfo, linux_nat_set_siginfo_fixup)
        (linux_nat_get_siginfo): Likewise.
        * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup)
        (linux_nat_get_siginfo): Likewise.
        * linux-tdep.c (linux_get_siginfo_type): Likewise.
        * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise.
        * procfs.c (gdb_siginfo_t): Likewise.

2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>

        * linux-arm-low.c (arm_stopped_by_watchpoint): Use siginfo_t instead of
        struct siginfo.
        * linux-low.c (siginfo_fixup, linux_xfer_siginfo): Likewise.
        * linux-x86-low.c (x86_siginfo_fixup): Likewise.
        * linux-low.h: Include <signal.h>.
        (struct siginfo): Remove forward declaration.
        (struct linux_target_ops) <siginfo_fixup>: Use siginfo_t instead of
        struct siginfo.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]