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

From: Jan Kiszka
Date: Wed Jan 23 2013 - 06:42:38 EST


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 task a bit:
>> (gdb) p ().pid
>
> when I do that, it says:
>
> (gdb) p ().pid
> A syntax error in expression, near `).pid'

Ouch, my git-send script ate all the "$foo" in the cover letter :(. It
has to be $lx_current, $lx_per_cpu and $container_of. Will write an
add-on patch that adds the tutorial as a text file later on.

Jan

--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/