Skip to content

Instantly share code, notes, and snippets.

@tjfontaine
Created March 12, 2013 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjfontaine/15d1075821c42fa62d9f to your computer and use it in GitHub Desktop.
Save tjfontaine/15d1075821c42fa62d9f to your computer and use it in GitHub Desktop.
Process 87254 stopped
* thread #1: tid = 0x1c03, 0x00000001000e9d7a libuv.dylib`uv__fs_fstat(fd=21, buf=0x00007fff5fbffa48) + 58 at fs.c:561, stop reason = step over
frame #0: 0x00000001000e9d7a libuv.dylib`uv__fs_fstat(fd=21, buf=0x00007fff5fbffa48) + 58 at fs.c:561
558 int ret;
559 ret = fstat(fd, &pbuf);
560 uv__to_stat(&pbuf, buf);
-> 561 return ret;
562 }
563
564
(lldb) print *buf
(uv_stat_t) $0 = {
(uint64_t) st_dev = 16777217
(uint64_t) st_mode = 33152
(uint64_t) st_nlink = 1
(uint64_t) st_uid = 503
(uint64_t) st_gid = 20
(uint64_t) st_rdev = 0
(uint64_t) st_ino = 1864337
(uint64_t) st_size = 13
(uint64_t) st_blksize = 4096
(uint64_t) st_blocks = 8
(uv_timespec_t) st_atim = {
(long) tv_sec = 16777217
(long) tv_nsec = 33152
}
(uv_timespec_t) st_mtim = {
(long) tv_sec = 1363126784
(long) tv_nsec = 0
}
(uv_timespec_t) st_ctim = {
(long) tv_sec = 1363126784
(long) tv_nsec = 0
}
(uv_timespec_t) st_atim = {}
}
(lldb) print pbuf
(stat) $1 = {
(dev_t) st_dev = 16777217
(mode_t) st_mode = 33152
(nlink_t) st_nlink = 1
(__darwin_ino64_t) st_ino = 1864337
(uid_t) st_uid = 503
(gid_t) st_gid = 20
(dev_t) st_rdev = 0
(timespec) st_atimespec = {
(__darwin_time_t) tv_sec = 1363126784
(long) tv_nsec = 0
}
(timespec) st_mtimespec = {
(__darwin_time_t) tv_sec = 1363126784
(long) tv_nsec = 0
}
(timespec) st_ctimespec = {
(__darwin_time_t) tv_sec = 1363126784
(long) tv_nsec = 0
}
(timespec) st_birthtimespec = {
(__darwin_time_t) tv_sec = 1363126784
(long) tv_nsec = 0
}
(off_t) st_size = 13
(blkcnt_t) st_blocks = 8
(blksize_t) st_blksize = 4096
(__uint32_t) st_flags = 0
(__uint32_t) st_gen = 0
(__int32_t) st_lspare = 0
(__int64_t [2]) st_qspare = {
(__int64_t) [0] = 0
(__int64_t) [1] = 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment