On Fri, Apr 4, 2008 at 10:13 AM, Devayani Nair <[EMAIL PROTECTED]> wrote:
> Respected Sir/Madam, > > I am doing a project in networking in Linux.I have > downloaded the kernel source code and the kgdb patch.I have done all the > steps for kernel compilation.My developement m/c is configured.The target > and development m/c's both are connected thru serail cable RS232C.I start > the gdb on the development machine.When the command target remote > /dev/ttyS0 is typed comunication takes place.It stops at some point and the > target system boots. Please send you gdb log with .config of kernel and dmesg of target(kgdb) machine. > > > I have the following queries: > 1.I want to debug some modules.How to go about it? Look in README about this. You will need gdbmod (normal gdb patched with features for module debugging). > > 2.I need to make changes in the existing modules and insert some new > modules. > 3.What commands are supposed to be given for debugging? Could you please ask in more details? As far as I understand you will have to do "set solib-search path" to tell gdb about libraries of modules. And when your module is loaded you will be notified in gdb about new thread. > > 4.Where can I see the whole process of debugging? You mean screen shots of debugging? > > 5.Will my target m/c be idle when the debugging process is going on?? Obviously when you are placing breakpoint or doing single step it(target) will be stuck. > > > > It would be helpful if u respond to my queries. Post further questions to KGDB Mailing List (see CC) too. > > > Thanking You. > > > > Yours sincerely, > Devayani Nair. > > > -- Milind Dumbare Sr. Systems Engg. Linsyssoft Technologies. http://www.dumbare.com/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport