This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple breakpoint issue when debugging loadable kernel module
On 2011-10-27 16:47, Vimal wrote:
> On 27 October 2011 01:10, Jan Kiszka <jan.kiszka@web.de> wrote:
>>
>> That's what I'm doing right now, but I'd like to use [1] and maybe write
>> some more helpers. :)
>
> Jan,
>
> I have written a script for listing loaded modules as well and it is
> possible with the gdb version 7.1, just before the faulty commit.
>
> I am not sure if gdb.selected_frame() is available, but, since
> "modules" is a global variable, you could just use parse_and_eval.
> That should work. :)
Yeah, I just had to hack that version to accept python 2.7 - all
features there, and my script works as-is.
>
> Good luck on your presentation!
>
Thanks!
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux