This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multiple breakpoint issue when debugging loadable kernel module


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. :)

Good luck on your presentation!

-- 
Vimal


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]