Re: Execution of kernel does not stop at the break point while doing remote debug (using kgdb).

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

 



On 12/8/05, Saumender Dash <sdash@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi Vishal,
Hello Saumender,
>

> Don't load the module directly in the taget. Download the script
> loadmodule.sh script from the
> site http://kgdb.linsyssoft.com then from the development m/c do
> #./loadmodule x.x.x.x module.o
Yeah.......i had checked http://kgdb.linsyssoft.com/modgdb.htm
and also, as given in http://kgdb.linsyssoft.com/downloads.htm
/*********************/
Shell Scripts
Loading a module for debugging (for versions prior to 1.9): loadmodule.sh
Loading into gdb a module object file (for versions prior to 1.9): getsyms.sh
Disassembling a function from an object file: disasfun.sh
/*********************/

This method is for loading a module file in gdb with older versions of
kgdb v.i.z 1.8 and earlier.........whereas i am using
linux-2.6.7-kgdb-2.2.tar.bz2 patch........ :(

Vishal.
> Now you will be  able to add brk point at functions, line nos etc.
> This how it's done in 2.4 kernel, in 2.6 it may not be very diffrent.
> Hope this will solve your problem.
>
> .Thanks,
> Saumendra

--
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