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

Jan Kiszka
2013-01-23T11:42:24Z

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