[uml-user] SIGTRAP and gdb multithreading program under UML

2006-07-13 Thread Miao Qingjun
Hi,   Under UML bash, I gdb a multithreading program, and set a breakpoint on thread entry function, But when run it, gdb is not stop at the breakpoint, instead, program exit because:   Program terminated with signal SIGTRAP, Trace/breakpoint trap.   Why?   Thanks.

[uml-user] uml and gdb debugging questions

2006-07-11 Thread Miao Qingjun
Hi,   I have several problems about uml-2.6.17 and gdb debugging.   I start "gdb uml", "b sys_init_module", then "run", but gdb is not break at sys_init_module() when I insmod LKM? Why? How can I do it?     When I type control-c in gdb, the virtual console xterm is also close

[uml-user] UML 2.6.17 problems (section mismatch, get_skas_faultinfo : failed to wait for SIGUSR1/SIGTRAP)

2006-06-30 Thread Miao Qingjun
Hi,   Two problems   First one, when building kernel and LKMs, WARNING: vmlinux - Section mismatch: reference to .init.text: from .plt after '' (at offset 0x8347e44)WARNING: vmlinux - Section mismatch: reference to .init: from .plt after '' (at offset 0x8347e64)WARNING: vmlinux -