I try to module debugging on SMDK2410 board. Linux version is 2.6.11.
I used following KGDB patch on KGDB sourceforge CVS page:
core-lite.patch rev 1.69
arm-lite.patch rev 1.11
module.patch rev 1.6
and, I written SMDK2410 kgdb-serial.
I used gdb-6.0-kgdb-2.2 with arm-linux configure on linsyssoft home page.
I have some problem.
I set solib-search-path my module source folder.
I succeeded in loading symbol.
(gdb) info shared
From To Syms Read Shared Object Library
0xbf000000 0xbf000164 Yes
I can set break point use symbol name.
(gdb) b call_open
Breakpoint 1 at 0xbf00002c: file proc_fs.h, line 189.
I can set break point use source line number.
(gdb) b /home/yoon/module_test/call_dev-2/call_dev.c:22
Breakpoint 2 at 0xbf000020: file
/home/yoon/module_test/call_dev-2/call_dev.c, line 22.
When Break point hit, gdb can't find correct module source file.
So, source level debug commands such as step, next can not be used.
Breakpoint 1, 0xbf00002c in call_open () at proc_fs.h:189
Why gdb read proc_fs.h?
I think this problem has happened because gdb can't find source file.
Is there anyone who help me correct this problem?
Please give me some help...
Thank you for help.
Get latest updates about Open Source Projects, Conferences and News.