hns - 日記自動生成システム - Version 2.19.9

先月 2004年06月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年06月11日(金) 旧暦 [n年日記]

#1 [XFree86] ちょっと gdb を使って:

Xserver/hw/xfree86/os-support/bsd/bsd_init.c:
の次のところに来た。
case PCVT:
    /*
     * First activate the #1 VT.  This is a hack to allow a server
     * to be started while another one is active.  There should be
     * a better way.
     */
    if (initialVT != 1) {
(==) Using config file: "/etc/X11/XF86Config"

Breakpoint 1, xf86OpenConsole () at bsd_init.c:149
149     {
(gdb) n
xf86OpenConsole () at bsd_init.c:158
158         if (serverGeneration == 1)
(gdb) n
161             if (geteuid() != 0)
(gdb) n
166             if (!KeepTty)
(gdb) n
173                 setpgrp(0, getpid());
(gdb) n
174                 if ((i = open("/dev/tty",O_RDWR)) >= 0)
(gdb) n
176                     ioctl(i,TIOCNOTTY,(char *)0);
(gdb) n
177                     close(i);
(gdb) n
182             for (driver = xf86ConsTab; *driver; driver++)
(gdb) n
184                 if ((fd = (*driver)()) >= 0)
(gdb) n
210             switch (xf86Info.consType)
(gdb) n
207             xf86Info.consoleFd = fd;
(gdb) n
208             xf86Info.screenFd = fd;
(gdb) n
210             switch (xf86Info.consType)
(gdb) n
250                 if (initialVT != 1) {
(gdb) n
252                     if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, 1) != 0)
(gdb) n
257                     sleep(1);
(gdb) n
264                 SYSCALL(result =
(gdb) n
266                 if (result != 0)
(gdb) n
270                 SYSCALL(result =
(gdb) n
272                 if (result != 0)
(gdb) n
277                 signal(SIGUSR1, xf86VTRequest);
(gdb) n
283                 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) 
(gdb) n
279                 vtmode.mode = VT_PROCESS;
(gdb) n
280                 vtmode.relsig = SIGUSR1;
(gdb) n
281                 vtmode.acqsig = SIGUSR1;
(gdb) n
282                 vtmode.frsig = SIGUSR1;
(gdb) n
283                 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) 
(gdb) n
294                 if (ioctl(xf86Info.consoleFd, KDSETMODE, KD_GRAPHICS) < 0)
(gdb) n
322     }
(gdb) n
0x0806be96 in InitOutput ()
(gdb) 
-g を付けたのは bsd_init.c だけなので、行先で symbol table 無 になってしまっている。全部に付けて作り直せばいいのかな。はて
> vi /export/xc-4.3.99.902/Imakefile 
> grep -i cdebug Imakefile 
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS) -g"
> time make World > & CFLAGS-g-2.log
4585.616u 493.450s 1:28:18.75 95.8%     0+0k 4932+134883io 15441pf+79w
> 
(gdb) file /export/xc-4.3.99.902/programs/Xserver/XFree86
Reading symbols from /export/xc-4.3.99.902/programs/Xserver/XFree86...done.
(gdb) 

#2 [BUG] ChiBUG 2004 勉強会

参加者・発表者が少ないなぁ。飛入歓迎。 僕の本 の 紹介 もあるのだけれど。

#3 [] ヨドバシカメラに 2 冊

あるのを確認(千葉)

横浜有隣堂では 10冊:




最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)