2012-09-11 C/C++/Linux what's mean $cdir & $cwd in gdb $cdir (directory embedded in executable recorded during compilation)$cwd (current working directory). Newer 显示目录大小,显示进程所使用的port的命令 Older generate core file with gdb