Changes between Version 21 and Version 22 of jazz/09-02-01


Ignore:
Timestamp:
Feb 2, 2009, 2:19:57 AM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/09-02-01

    v21 v22  
    364364}}}
    365365 * 在 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 可以取消最佳化 )
    367367{{{
    368368The values of arguments that were not saved in their stack frames are shown as `<value optimized out>'.
    369369
    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.
     370If you need to display the values of such optimized-out arguments, either deduce that from other variables
     371whose values depend on the one you are interested in, or recompile without optimizations.
    371372}}}
    372373   * [作法] 在 configure 的時候加上 CFLAGS
     
    456457{{{
    457458root@intrepid:~# w
    458  02:01:29 up 5 min,  5 users,  load average: 0.75, 0.91, 0.41
    459 USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
    460 root@intrepid:~# w
    461459 02:02:14 up 6 min,  5 users,  load average: 0.35, 0.78, 0.39
    462460USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT