using GDB for remote kernel debugging
I am trying to debug standalone RTLinnux using gdb. I have kept unstripped copy of the kernel in target and host machine. I am able to establish remote connection in gdb. when I try to execute commands like 'next' or 'step', it says no symbol found.
I have loaded symbol table in host machine (where gdb is running) using
add-symbol-file sartl/build/objs/<all .o files>
after adding the symbols when i give break <function-name>, it does not give any error but
when i say next or step it says
"cannot find bounds of current function".
I googled for it but could not get the solution.I am stuck with this problem.
Any help will be much appreciated.