From: McMechan, James <McMechanJW@navair.navy.mil> - 2002-01-23 19:14:49
I have not received a digest from either uml-user or uml-devel since
so it appears to be broken on both my mail accounts.
Also I managed to hang 2.4.17-8 before it prints the tracing thread id?
I had to manually "gdb ./linux" and then do a attach to the tracing thread
I had started with "./linux debug single" and nothing happens.
I could not attach to the other thread I got a ptrace error
(gdb) attach 5322
Attaching to program: /home/mcmechan/uml/./linux, process 5322
0xa00e7e79 in __wait4 ()
#0 0xa00e7e79 in __wait4 ()
#1 0xa00c7bac in start_kernel_proc (unused=0xffffffff) at um_arch.c:105
#2 0xa00c7225 in signals (init_proc=0xa00c7bac <start_kernel_proc>,
sp=0xa015fffc) at trap_user.c:208
#3 0xa00c7f25 in linux_main (argc=4, argv=0xbffffa04) at um_arch.c:338
#4 0xa000b2f7 in main (argc=4, argv=0xbffffa04, envp=0xbffffa18)
#5 0xa00d41c2 in __libc_start_main (main=0xa000b188 <main>, argc=4,
ubp_av=0xbffffa04, init=0xa0123e40 <_init>, fini=0xa012bb20 <_fini>,
rtld_fini=0, stack_end=0xbffff9fc) at ../sysdeps/generic/libc-start.c:129
this is very early in the startup process and #1 appears to be the
Detaching from program: /home/mcmechan/uml/./linux, process 5322
(gdb) attach 5327
Attaching to program: /home/mcmechan/uml/./linux, process 5327
ptrace: Operation not permitted.
I have gotten a "ps ax" in another window
5293 pts/2 S 0:00 bash
5327 pts/2 T 0:00 ./linux [(idle thread)]
5330 pts/0 S 0:01 gdb ./linux
5322 pts/2 T 0:00 ./linux [(tracing thread)]
5331 pts/1 R 0:00 ps ax
Get latest updates about Open Source Projects, Conferences and News.