Re: Tracing with utrace, some questions

2010-10-11 Thread Ali Polatel
On Sun, 10 Oct 2010 11:35:02 -0700 (PDT), Roland McGrath rol...@redhat.com wrote: 1. From what I've read in the DocBook pages I've figured out that I have to have two report entries. One for syscall_entry and one for syscall_exit. On syscall_entry I should use syscall_get_nr() and check

Re: [PATCH?] avoid the unnecessary utrace_resume()-utrace_reset()

2010-10-11 Thread Oleg Nesterov
On 08/18, Oleg Nesterov wrote: utrace_resume(UTRACE_REPORT) always calls utrace_reset() because start_callback() obviously can't clear report-spurious when event == 0. Change start_callback() to correctly clear -spurious in this case. Correctly? I am stupid, and this patch is wrong

Re: gdbstub initial code, v13

2010-10-11 Thread Oleg Nesterov
On 10/08, Oleg Nesterov wrote: - full vCont support. Well, this was easy, except even after 3 hours of debugging I can't understand why this change breaks the stepping over pthread_create :/ Oh, it doesn't break. I did a lot of mistakes when I was trying to