From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16549 invoked by alias); 27 Oct 2011 14:48:31 -0000 Received: (qmail 16540 invoked by uid 22791); 27 Oct 2011 14:48:29 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f41.google.com (HELO mail-qw0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Oct 2011 14:48:05 +0000 Received: by qadc11 with SMTP id c11so3212347qad.0 for ; Thu, 27 Oct 2011 07:48:05 -0700 (PDT) Received: by 10.224.186.8 with SMTP id cq8mr9100421qab.45.1319726885083; Thu, 27 Oct 2011 07:48:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.67.193 with HTTP; Thu, 27 Oct 2011 07:47:45 -0700 (PDT) In-Reply-To: <4EA903DC.2080408@web.de> References: <4EA89365.2010807@web.de> <4EA903DC.2080408@web.de> From: Vimal Date: Thu, 27 Oct 2011 14:59:00 -0000 Message-ID: Subject: Re: Multiple breakpoint issue when debugging loadable kernel module To: Jan Kiszka Cc: tromey , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00196.txt.bz2 On 27 October 2011 01:10, Jan Kiszka 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