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
- From: Vimal <j dot vimal at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Jan Kiszka <jan dot kiszka at web dot de>, Tom Tromey <tromey at redhat dot com>, gdb at sourceware dot org
- Date: Fri, 4 Nov 2011 20:06:50 -0600
- Subject: Re: Multiple breakpoint issue when debugging loadable kernel module
- References: <CAK3Ji13etC=V-mVsbTYLOrTa4ErgaCF8xd+QPU1gtDbngdJpZw@mail.gmail.com> <CAK3Ji13Vwh9ZBENNtBkuHfqww1=OhcUGKeCWwgYVmT++a5c4UQ@mail.gmail.com> <4EA89365.2010807@web.de> <m3aa8mb58w.fsf@fleche.redhat.com> <CAK3Ji109-gd-zHfYSW70XEubPuugW8KRD5o08z5Qfug+f0LSNQ@mail.gmail.com> <CAK3Ji13FeEtpsq80eAwsyQo+xxSyiyjhDQ=MKXniXJr-d1p2Fg@mail.gmail.com> <4EAED7DC.5030805@siemens.com> <m3y5w051d6.fsf@fleche.redhat.com> <4EB010D1.9050209@web.de> <20111101201247.GA19887@host1.jankratochvil.net>
Oops, somehow missed this thread.
On 1 November 2011 14:12, Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
>
> It reminds me a binutils bug, maybe you could check your
> /path/to/some/module.ko with readelf if it has its .debug_ranges right:
> ? ? ? ?https://bugzilla.redhat.com/show_bug.cgi?id=714824#c6
>
> Sure it also may be a completely different bug and it may really be in GDB.
As I am not experienced enough with this, would love some more
pointers. Are you suggesting gcc does not insert debug information
correctly? Though this is possible, does it explain the fact that
the same .ko file without recompilation, works with gdb-7.1?
--
Vimal