close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jan 14, 2009, 4:04:50 PM (17 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v6
|
v7
|
|
| 38 | 38 | p p->soff |
| 39 | 39 | p p->slen |
| 40 | | p fb_fix.mmem_len |
| | 40 | p fb_fix.mmio_len |
| 41 | 41 | p p->moff |
| 42 | 42 | p p->mlen |
| 43 | 43 | }}} |
| 44 | 44 | {{{ |
| | 45 | root@intrepid:~/jfbterm-0.4.7-dev# gdb |
| | 46 | GNU gdb 6.8-debian |
| | 47 | Copyright (C) 2008 Free Software Foundation, Inc. |
| | 48 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
| | 49 | This is free software: you are free to change and redistribute it. |
| | 50 | There is NO WARRANTY, to the extent permitted by law. Type "show copying" |
| | 51 | and "show warranty" for details. |
| 45 | 52 | This GDB was configured as "x86_64-linux-gnu". |
| 46 | 53 | (gdb) file jfbterm |
| … |
… |
|
| 57 | 64 | (gdb) run |
| 58 | 65 | Starting program: /root/jfbterm-0.4.7-dev/jfbterm -e ls |
| | 66 | ...略... |
| 59 | 67 | Breakpoint 1, tfbm_open (p=0x6146e0) at fbcommon.c:501 |
| 60 | 68 | 501 if (fb_var.yres_virtual != fb_var.yres) { |
| 61 | 69 | (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}} |
| 64 | 74 | (gdb) c |
| 65 | 75 | Continuing. |
| | 76 | ...略... |
| 66 | 77 | Breakpoint 2, tfbm_open (p=0x6146e0) at fbcommon.c:557 |
| 67 | 78 | 557 p->smem = (u_char*)mmap(NULL, p->slen, PROT_READ|PROT_WRITE, |
| 68 | 79 | (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}} |
| 71 | 84 | (gdb) c |
| 72 | 85 | Continuing. |
| … |
… |
|
| 80 | 93 | (gdb) p p->slen |
| 81 | 94 | $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 |
| 84 | 97 | (gdb) p p->moff |
| 85 | | $6 = 0 |
| | 98 | $7 = 0 |
| 86 | 99 | (gdb) p p->mlen |
| 87 | | $7 = 0 |
| 88 | | (gdb) |
| | 100 | $8 = 0 |
| 89 | 101 | }}} |