* reverse next execution
@ 2012-08-06 1:17 John Smith
2012-08-06 1:30 ` Hui Zhu
[not found] ` <20120806050951.GA19874@host2.jankratochvil.net>
0 siblings, 2 replies; 4+ messages in thread
From: John Smith @ 2012-08-06 1:17 UTC (permalink / raw)
To: gdb
hi,I am debugging a multiple threads using gdb .
when it come to be a segment fault or memory collapse ,I want to
reverse-next from the current $ip,but gdb tell me
"Target multi-thread does not support this command" , so I don't know
how to deal wth this?
can you help me ? I can set the programme running in a single thread
where the error occured .but how to use the reverse cammand in this
enviroment ?
thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reverse next execution
2012-08-06 1:17 reverse next execution John Smith
@ 2012-08-06 1:30 ` Hui Zhu
[not found] ` <20120806050951.GA19874@host2.jankratochvil.net>
1 sibling, 0 replies; 4+ messages in thread
From: Hui Zhu @ 2012-08-06 1:30 UTC (permalink / raw)
To: John Smith; +Cc: gdb
On Mon, Aug 6, 2012 at 9:17 AM, John Smith <juniorstuding@gmail.com> wrote:
> hi,I am debugging a multiple threads using gdb .
>
> when it come to be a segment fault or memory collapse ,I want to
> reverse-next from the current $ip,but gdb tell me
> "Target multi-thread does not support this command" , so I don't know
> how to deal wth this?
>
> can you help me ? I can set the programme running in a single thread
> where the error occured .but how to use the reverse cammand in this
> enviroment ?
>
> thanks!
I am not sure my patch about prec for multiple threads support is
checked in to GDB or not. So ...
Thanks,
Hui
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <20120806050951.GA19874@host2.jankratochvil.net>]
* Re: reverse next execution
[not found] ` <20120806050951.GA19874@host2.jankratochvil.net>
@ 2012-08-06 8:25 ` John Smith
2012-08-06 8:34 ` Jan Kratochvil
0 siblings, 1 reply; 4+ messages in thread
From: John Smith @ 2012-08-06 8:25 UTC (permalink / raw)
To: Jan Kratochvil; +Cc: gdb
hi,guys
Is there some modules which can get kernel data for
gdb, as gdb working at user-mode .so can not get some kernel data
is there some patch can do this?
thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reverse next execution
2012-08-06 8:25 ` John Smith
@ 2012-08-06 8:34 ` Jan Kratochvil
0 siblings, 0 replies; 4+ messages in thread
From: Jan Kratochvil @ 2012-08-06 8:34 UTC (permalink / raw)
To: John Smith; +Cc: gdb
Hello,
On Mon, 06 Aug 2012 10:25:27 +0200, John Smith wrote:
> Is there some modules which can get kernel data for
> gdb, as gdb working at user-mode .so can not get some kernel data
>
> is there some patch can do this?
(As I was in To) I do not understand the question.
One idea is if you want symbols from Linux kernel, look for file 'vmlinux'
(if it is built in kernel config with debug symbols).
GDB is userland process, it only uses system calls of Linux kernel (if you
mean Linux kernel). GDB is in fact unrelated to kernels.
Regards,
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-06 8:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-06 1:17 reverse next execution John Smith
2012-08-06 1:30 ` Hui Zhu
[not found] ` <20120806050951.GA19874@host2.jankratochvil.net>
2012-08-06 8:25 ` John Smith
2012-08-06 8:34 ` Jan Kratochvil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox