Changes between Version 6 and Version 7 of jazz/09-01-14


Ignore:
Timestamp:
Jan 14, 2009, 4:04:50 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

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

    v6 v7  
    3838p p->soff
    3939p p->slen
    40 p fb_fix.mmem_len
     40p fb_fix.mmio_len
    4141p p->moff
    4242p p->mlen
    4343}}}
    4444{{{
     45root@intrepid:~/jfbterm-0.4.7-dev# gdb
     46GNU gdb 6.8-debian
     47Copyright (C) 2008 Free Software Foundation, Inc.
     48License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
     49This is free software: you are free to change and redistribute it.
     50There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
     51and "show warranty" for details.
    4552This GDB was configured as "x86_64-linux-gnu".
    4653(gdb) file jfbterm
     
    5764(gdb) run
    5865Starting program: /root/jfbterm-0.4.7-dev/jfbterm -e ls
     66...略...
    5967Breakpoint 1, tfbm_open (p=0x6146e0) at fbcommon.c:501
    6068501             if (fb_var.yres_virtual != fb_var.yres) {
    6169(gdb) p fb_fix
    62 $1 = {id = "▒▒C▒\210\177\000\000\006\000\000\000\000\000\000", smem_start = 30778096, smem_len = 3032756978, type = 32648, type_aux = 0, visual = 0,
    63   xpanstep = 65535, ypanstep = 65535, ywrapstep = 65535, line_length = 1, mmio_start = 15, mmio_len = 30816528, accel = 0, reserved = {53071, 64, 0}}
     70$1 = {id = "▒\204▒▒Q\177\000\000\006\000\000\000\000\000\000", smem_start = 21037808,
     71  smem_len = 4269392626, type = 32593, type_aux = 0, visual = 0,
     72  xpanstep = 65535, ypanstep = 65535, ywrapstep = 65535, line_length = 1, mmio_start = 15,
     73  mmio_len = 21076240, accel = 0, reserved = {53071, 64, 0}}
    6474(gdb) c
    6575Continuing.
     76...略...
    6677Breakpoint 2, tfbm_open (p=0x6146e0) at fbcommon.c:557
    6778557             p->smem = (u_char*)mmap(NULL, p->slen, PROT_READ|PROT_WRITE,
    6879(gdb) p fb_fix
    69 $2 = {id = "VESA VGA\000\000\000\000\000\000\000", smem_start = 4026531840, smem_len = 1572864, type = 0, type_aux = 0, visual = 3, xpanstep = 0,
    70   ypanstep = 0, ywrapstep = 0, line_length = 1024, mmio_start = 0, mmio_len = 0, accel = 0, reserved = {0, 0, 0}}
     80$2 = {id = "VESA VGA\000\000\000\000\000\000\000", smem_start = 4026531840,
     81  smem_len = 1572864, type = 0, type_aux = 0, visual = 3, xpanstep = 0,
     82  ypanstep = 0, ywrapstep = 0, line_length = 1024, mmio_start = 0,
     83  mmio_len = 0, accel = 0, reserved = {0, 0, 0}}
    7184(gdb) c
    7285Continuing.
     
    8093(gdb) p p->slen
    8194$5 = 1572864
    82 (gdb) p fb_fix.mmem_len
    83 There is no member named mmem_len.
     95(gdb) p fb_fix.mmio_len
     96$6 = 0
    8497(gdb) p p->moff
    85 $6 = 0
     98$7 = 0
    8699(gdb) p p->mlen
    87 $7 = 0
    88 (gdb)
     100$8 = 0
    89101}}}