Debugging Linux kernel, breakpoint shows incorrect parameter value
Aaron Lewis
the.warl0ck.1989@gmail.com
Fri Jul 25 03:21:00 GMT 2014
Hi,
I'm debugging linux kernel version 3.12.8 (x64) with gdb, through a
pts console with KVM
%> gdb --version
GNU gdb (GDB) 7.7.1
%> gcc --version
gcc (GCC) 4.9.1
When I set a breakpoint with 'b' command, it works.
But all parameters value are incorrect. I added printk to testify, and
it was indeed incorrect
Anyone know how to fix that?
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
More information about the Gdb
mailing list