struct siginfo vs. siginfo_t
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-x86-low.c
index ed1f8a8bcf52ef9630df6f4c08bade2c533fb21b..b466b5d281ec2b2b4b07c9c3db9ade799b2d5b47 100644 (file)
@@ -918,13 +918,13 @@ siginfo_from_compat_siginfo (siginfo_t *to, compat_siginfo_t *from)
    INF.  */
 
 static int
-x86_siginfo_fixup (struct siginfo *native, void *inf, int direction)
+x86_siginfo_fixup (siginfo_t *native, void *inf, int direction)
 {
 #ifdef __x86_64__
   /* Is the inferior 32-bit?  If so, then fixup the siginfo object.  */
   if (register_size (0) == 4)
     {
-      if (sizeof (struct siginfo) != sizeof (compat_siginfo_t))
+      if (sizeof (siginfo_t) != sizeof (compat_siginfo_t))
        fatal ("unexpected difference in siginfo");
 
       if (direction == 0)
This page took 0.023697 seconds and 4 git commands to generate.