Re: Kgdb related prob. (err - "Cannot find bounds of current funtion"!!)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You should use "add-symbol-file" command. The kernel should be compiled with debuginfo. Also you should have the uncompressed kernel (or module) image to read symbols from it.

Mandeep Sandhu wrote:
i don't think so......how do u do that???

On Thu, 2004-09-30 at 16:23, Artem B. Bityuckiy wrote:

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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux