darwin: Don't use sbrk
[deliverable/binutils-gdb.git] / gdb / auxv.c
index 2afa136efe523a32c13aefb9914da9a4eaa7b4cd..dda14f2cae7c2ff349961a5848bff65f423095d1 100644 (file)
@@ -50,7 +50,7 @@ procfs_xfer_auxv (gdb_byte *readbuf,
   int fd;
   ssize_t l;
 
-  pathname = xstrprintf ("/proc/%d/auxv", ptid_get_pid (inferior_ptid));
+  pathname = xstrprintf ("/proc/%d/auxv", inferior_ptid.pid ());
   fd = gdb_open_cloexec (pathname, writebuf != NULL ? O_WRONLY : O_RDONLY, 0);
   xfree (pathname);
   if (fd < 0)
This page took 0.023481 seconds and 4 git commands to generate.