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 Kiszka <jan dot kiszka at siemens dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb at sourceware dot org
- Date: Fri, 4 Nov 2011 20:09:16 -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>
On 31 October 2011 11:16, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>
> Yes, that works (around the bug). But it does not help me as it's
> unhandy (gdb assumes 32-bit by default, my kernels are 64 usually) and
> automatic module loading depends on the kernel symbols already being
> present.
>
I use 64-bit kernels as well, and I do a "set arch i386:x86_64:intel"
before issuing any commands.
How do you do automatic module loading? Maybe you could disable that :-)
--
Vimal