Changes between Version 5 and Version 6 of jazz/09-02-01


Ignore:
Timestamp:
Feb 1, 2009, 7:06:55 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

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

    v5 v6  
    33 * [備忘] 舊的 sarge repository 會留在 http://archive.debian.org/debian/dists/sarge/
    44   * [參考] http://lists.debian.org/debian-user/2008/11/msg02570.html
     5
     6== CGDB ==
     7
     8 * [參考] http://www.cmlab.csie.ntu.edu.tw/~daniel/linux/cgdb.html
     9{{{
     10基本操作方法
     11
     12    * ESC -- switch to source window
     13    * i -- switch to GDB mode
     14    * spacebar -- 在目前的地方設一個中斷點 (source window mode)
     15    * t -- 在目前的地方設一個暫時中斷點 (source window mode)
     16    * '-' -- 縮減 source window
     17    * '=' -- 增加 source window
     18}}}
     19 * [參考] http://vision.twbbs.org/~letoh/blog/2007/04/13/cgdb-curses-gdb/
     20{{{
     21
     22}}}
     23 * [參考] http://blogkrogh.blogspot.com/2008/05/gdb-xxgdb-ddd.html
     24   * kgdb 的介面看起來不錯。cgdb 有中文支援問題?! gdb 也有 ui 界面:
     25{{{
     26$ gdb -tui 程式碼
     27}}}
    528
    629== BUGFIX: jfbterm (5) ==
     
    135158cannot mmap(mmio) : Invalid argument
    136159}}}
     160 *
     161{{{
     162file jfbterm
     163set args -e ls
     164show args
     165break fbcommon.c:500
     166break fbcommon.c:557
     167break fbcommon.c:566
     168break term.c:103
     169r
     170c
     171c
     172c
     173bt
     174}}}
     175{{{
     176Breakpoint 4, tterm_final (p=0x6147c0) at term.c:103
     177(gdb) bt
     178#0  tterm_final (p=0x6147c0) at term.c:103
     179#1  0x0000000000408adf in sigchld (sig=<value optimized out>) at term.c:82
     180#2  <signal handler called>
     181#3  0x00007f5dfc00f433 in select () from /lib/libc.so.6
     182#4  0x0000000000408873 in tterm_start (p=0x6147c0, tn=<value optimized out>, en=<value optimized out>) at term.c:192
     183#5  0x0000000000402cf2 in main (argc=<value optimized out>, argv=0x7fff049477f8) at main.c:438
     184}}}
     185}}}