* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
[parent not found: <E1BrSxK-0006LW-00@return.false.org>]
* Re: problems with gdb multi-thread debugging and memset
[not found] <E1BrSxK-0006LW-00@return.false.org>
@ 2004-08-03 13:02 ` Daniel Jacobowitz
0 siblings, 0 replies; 31+ messages in thread
From: Daniel Jacobowitz @ 2004-08-03 13:02 UTC (permalink / raw)
To: Booby Chen; +Cc: gdb
On Mon, Aug 02, 2004 at 10:52:15AM +0800, Booby Chen wrote:
> Hi all,
>
> when I use gdb to debug a multithread program like the following:
>
> (gdb) inf thr
> 4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
> * 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
> 2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
> 1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
>
> (gdb) n
> 221 memset(&req4sch,0,sizeof(req4sch));
>
> and when I use the command "next", the thread 3 can not go on, but if I change the current
> thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
>
> can anybody tell me the reason of this??Thanks.
What do you mean by "can not go on"?
--
Daniel Jacobowitz
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
* problems with gdb multi-thread debugging and memset
@ 2004-08-02 2:52 Booby Chen
0 siblings, 0 replies; 31+ messages in thread
From: Booby Chen @ 2004-08-02 2:52 UTC (permalink / raw)
To: gdb
Hi all,
when I use gdb to debug a multithread program like the following:
(gdb) inf thr
4 Thread 2051 (LWP 14625) 0x420292e5 in sigsuspend () from /lib/i686/libc.so.6
* 3 Thread 1026 (LWP 14624) sch_hd_core (arg=0x8ac60f8) at schrun.cpp:221
2 Thread 2049 (LWP 14623) 0x420e0037 in poll () from /lib/i686/libc.so.6
1 Thread 1024 (LWP 14619) 0x420b4b31 in nanosleep () from /lib/i686/libc.so.6
(gdb) n
221 memset(&req4sch,0,sizeof(req4sch));
and when I use the command "next", the thread 3 can not go on, but if I change the current
thread to thread 4 and use the command "next", the thread 3 and 4 can go on.
can anybody tell me the reason of this??Thanks.
Regards,
Booby Chen
^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2004-08-03 13:02 UTC | newest]
Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-02 2:52 problems with gdb multi-thread debugging and memset Booby Chen
[not found] <E1BrSxK-0006LW-00@return.false.org>
2004-08-03 13:02 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
2004-08-02 2:52 Booby Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox