local_hex_string ((unsigned long) pid));
hex_string ((unsigned long) pid));
vx_attach (char *args, int from_tty){  unsigned long pid;  char *cptr = 0;  Rptrace ptrace_in;  Ptrace_return ptrace_out;  int status;  if (!args)    error_no_arg ("process-id to attach");  pid = strtoul (args, &cptr, 0);  if ((cptr == args) || (*cptr != '\0'))    error ("Invalid process-id -- give a single number in decimal or 0xhex");  if (from_tty)    printf_unfiltered ("Attaching pid %s.\n",		       local_hex_string ((unsigned long) pid));  memset ((char *) &ptrace_in, '\0', sizeof (ptrace_in));  memset ((char *) &ptrace_out, '\0', sizeof (ptrace_out));  ptrace_in.pid = pid;  status = net_ptrace_clnt_call (PTRACE_ATTACH, &ptrace_in, &ptrace_out);  if (status == -1)    error (rpcerr);  if (ptrace_out.status == -1)    {      errno = ptrace_out.errno_num;      perror_with_name ("Attaching remote process");    }  /* It worked... */  inferior_ptid = pid_to_ptid (pid);  push_target (&vx_run_ops);  if (vx_running)    xfree (vx_running);  vx_running = 0;}