Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Jan Kiszka
On 2013-01-23 12:32, Borislav Petkov wrote: > Ok, first of all, I gotta say, this is very cool stuff, thanks for doing > this. I'm playing with your tutorial and I'm having some trouble, see > below: > > On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: >> o Let's examine the current ta

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-23 Thread Borislav Petkov
Ok, first of all, I gotta say, this is very cool stuff, thanks for doing this. I'm playing with your tutorial and I'm having some trouble, see below: On Mon, Jan 21, 2013 at 06:06:07PM +0100, Jan Kiszka wrote: > o Let's examine the current task a bit: > (gdb) p ().pid when I do that, it says

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 23:15, Andi Kleen wrote: >> >> o Install that kernel on the guest > > If you use a static kernel you can also do > > - copy the initrd out of the guest once > > qemu... -bzImage kernel -initrd initrd -kernel/append/initrd, of course. > > This saves the step of getting the ker

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-22 Thread Jan Kiszka
On 2013-01-21 22:21, Andi Kleen wrote: >> >> And this is a tutorial for the gdb extension using QEMU/KVM as target >> platform: > > Can you add the tutorial as a file in Documentation? Sure, will do. > Other than that everything looks good to me. Thanks, Jan -- Siemens AG, Corporate Technolo

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Andi Kleen
> > o Install that kernel on the guest If you use a static kernel you can also do - copy the initrd out of the guest once qemu... -bzImage kernel -initrd initrd This saves the step of getting the kernel into the kernel. Doesn't work with modules unfortunately. -Andi -- To unsubscribe from

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Ben Widawsky
On Mon, 21 Jan 2013 18:06:07 +0100 Jan Kiszka wrote: > Version 4 of this series is a rebase over latest 3.8-rc4+. Moreover, I > updated the mechanism that implements automatic symbol loading for new > modules. It was affected by the refactorings around finit_module. > > While waiting for feedbac

Re: [PATCH v4 00/13] Add gdb python scripts as kernel debugging helpers

2013-01-21 Thread Andi Kleen
> > And this is a tutorial for the gdb extension using QEMU/KVM as target > platform: Can you add the tutorial as a file in Documentation? Other than that everything looks good to me. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma