Did you load debugging symbols?
Mandeep Sandhu wrote:
hi list,
don't know wether this is the correct list to ask KGDB related prob. If not, can someone point me to the mailing list where i can post my ques.........or else read on.......
I'm trying to bring up a kgdb setup. I have 2 intel machines. Target - mac1, Host - mac2. I downloaded the latest kgdb patch for 2.6.8.1 on mac1 and applied it on the kernel src. I then complied it on the target machine itself. Then copied (scp) the kernel image + System.map to my host mac where i have the same kgdb patched source (copied it to /usr/src/linux-2.6.8.1 of mac2).
made changes to grub etc. and rebooted the target mac...which stopped at "waiting for connection from remote server".
From the host's /usr/src/linux-2.6.8.1 dir i ran$> gdb vmlinuz-2.6.8.1-kgdb
connected to the target mac using "target remote /dev/ttyS0"
then i got the following line
(gdb) 0x(some addr) in ??
then when i try to step thru. using step command i get "Cannot find bounds of current function".
If i type "continue" the target resumes booting fine. any clues why this is happeneing???
TIA, -mandeep
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/