Changes between Version 21 and Version 22 of jazz/09-02-01
- Timestamp:
- Feb 2, 2009, 2:19:57 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/09-02-01
v21 v22 364 364 }}} 365 365 * 在 DEBUG 的時候偶爾會看到 <value optimized out>,但是該怎麼去掉呢?? 366 * [參考] http://www.cs.utk.edu/~vose/c-stuff/onlinedocs/gdb_7.html 366 * [參考] http://www.cs.utk.edu/~vose/c-stuff/onlinedocs/gdb_7.html - 不要最佳化 ( 查 gcc manpage 得知 -O0 可以取消最佳化 ) 367 367 {{{ 368 368 The values of arguments that were not saved in their stack frames are shown as `<value optimized out>'. 369 369 370 If you need to display the values of such optimized-out arguments, either deduce that from other variables whose values depend on the one you are interested in, or recompile without optimizations. 370 If you need to display the values of such optimized-out arguments, either deduce that from other variables 371 whose values depend on the one you are interested in, or recompile without optimizations. 371 372 }}} 372 373 * [作法] 在 configure 的時候加上 CFLAGS … … 456 457 {{{ 457 458 root@intrepid:~# w 458 02:01:29 up 5 min, 5 users, load average: 0.75, 0.91, 0.41459 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT460 root@intrepid:~# w461 459 02:02:14 up 6 min, 5 users, load average: 0.35, 0.78, 0.39 462 460 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT