Debugging kernel with KGDB

Hi list,

I am debugging linux kernel (2.6.15) remotely using gdb and want to
debug an area that involves synchronization / timing between two
kernel threads.

I was wondering if it is possible to debug multiple kernel threads at
the same time by manually switching between the two? For instance can
I create the following scenario using the gdb debugger:

1) kernel thread 1 hits break point 1
2) At this point, I want kernel thread 2 to run till break point 2.

I hope I'm clear enough?

Thanks,

Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Daniel Rodrick [ Di, 06 März 2007 18:07 ] [ ID #1648527 ]
Linux » gmane.linux.newbie » Debugging kernel with KGDB

Vorheriges Thema: Gives Bus errory in memcpy() in coping /dev/fb0 to a file.
Nächstes Thema: way to "duplicate" console contents to a file?