Changes between Version 29 and Version 30 of jazz/08-11-16


Ignore:
Timestamp:
Nov 17, 2008, 12:39:32 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/08-11-16

    v29 v30  
    3030root@intrepid:~/jfbterm-0.4.7# make
    3131root@intrepid:~/jfbterm-0.4.7# gdb ./jfbterm
    32 gdb> run
     32(gdb) run
    3333}}}
    3434 * 縱使用 gdb 還是無法正常跳回文字模式,因此直接追原始碼。
     
    7171       EINVAL flags contained neither MAP_PRIVATE or MAP_SHARED, or contained both of these values.
    7272}}}
    73 
     73 * 使用 gdb 設定中斷點在 fbcomm.c 第 566 行並觀察變數狀態
     74{{{
     75root@intrepid:~/jfbterm-0.4.7# gdb
     76(gdb) file jfbterm
     77Reading symbols from /root/jfbterm-0.4.7/jfbterm...done.
     78(gdb) set args -e ls
     79(gdb) show args
     80Argument list to give program being debugged when it is started is "-e ls".
     81(gdb) break fbcommon.c:566
     82Breakpoint 1 at 0x4034ba: file fbcommon.c, line 566.
     83(gdb) run
     84... 略 ...
     85Breakpoint 1, tfbm_open (p=0x6146e0) at fbcommon.c:566
     86566             p->mmio = (u_char*)mmap(NULL, p->mlen, PROT_READ|PROT_WRITE,
     87}}}
    7488
    7589== UCIMF - jfbterm patch (中文輸入) ==