udot_val = ptrace (PT_READ_U, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) udot_off, 0);
udot_val = ptrace (PT_READ_U, PIDGET (inferior_ptid), (PTRACE_TYPE_ARG3) udot_off, 0);
udot_info (char *dummy1, int dummy2){#if defined (KERNEL_U_SIZE)  long udot_off;			/* Offset into user struct */  int udot_val;			/* Value from user struct at udot_off */  char mess[128];		/* For messages */#endif  if (!target_has_execution)    {      error ("The program is not being run.");    }#if !defined (KERNEL_U_SIZE)  /* Adding support for this command is easy.  Typically you just add a     routine, called "kernel_u_size" that returns the size of the user     struct, to the appropriate *-nat.c file and then add to the native     config file "#define KERNEL_U_SIZE kernel_u_size()" */  error ("Don't know how large ``struct user'' is in this version of gdb.");#else  for (udot_off = 0; udot_off < KERNEL_U_SIZE; udot_off += sizeof (udot_val))    {      if ((udot_off % 24) == 0)	{	  if (udot_off > 0)	    {	      printf_filtered ("\n");	    }	  printf_filtered ("%s:", paddr (udot_off));	}      udot_val = ptrace (PT_READ_U, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) udot_off, 0);      if (errno != 0)	{	  sprintf (mess, "\nreading user struct at offset 0x%s",		   paddr_nz (udot_off));	  perror_with_name (mess);	}      /* Avoid using nonportable (?) "*" in print specs */      printf_filtered (sizeof (int) == 4 ? " 0x%08x" : " 0x%16x", udot_val);    }  printf_filtered ("\n");#endif}