RE: How to set up a debugging environment.

2010-07-08 Thread Viral Mehta
2010/3/8 Mulyadi Santosa mulyadi.sant...@gmail.com: Hi... sorry for interrupting your conversation :) Start a new thread then I recently try to use kgdb to debug kernel. my questions are: 1. there are 2 uart under my plarform, I intent to let one for console one for kgdb. how coudl I tell

Re: multiple alternate superblocks

2010-07-08 Thread arshad hussain
On Wed, Jul 7, 2010 at 6:37 PM, Manish Katiyar mkati...@gmail.com wrote: On 7/7/10, Onkar Mahajan kern.de...@gmail.com wrote: Is it possible to supply multiple alternate superblocks while doing a mount in Linux ? If I got your question correctly, It is already being done that way

Re: using gdb to debug a 64-bit kernel

2010-07-08 Thread Robert P. J. Day
On Thu, 8 Jul 2010, Mulyadi Santosa wrote: On Thu, Jul 8, 2010 at 02:13, Robert P. J. Day rpj...@crashcourse.ca wrote:  in fact, that's exactly the right value based on this snippet from init/main.c:  unsigned long loops_per_jiffy = (112); which is, of course, 4096. Thanks for

Re: How to set up a debugging environment.

2010-07-08 Thread loody
hi Viral: 2010/7/8 Viral Mehta viral.me...@lntinfotech.com: 2010/3/8 Mulyadi Santosa mulyadi.sant...@gmail.com: Hi... sorry for interrupting your conversation :) Start a new thread then I recently try to use kgdb to debug kernel. my questions are: 1. there are 2 uart under my plarform, I

RE: How to set up a debugging environment.

2010-07-08 Thread Viral Mehta
1. there are 2 uart under my plarform, I intent to let one for console one for kgdb. how coudl I tell kernel which one is for console and which one is for kgdb? Give it as kernel parameters... http://www.linuxquestions.org/questions/programming-9/kgdb-module-debugging-question-657611/ 2.

RE: using gdb to debug a 64-bit kernel

2010-07-08 Thread Robert P. J. Day
On Thu, 8 Jul 2010, Prabhunath G wrote: Hi Robert,     Can you please share the writeup that you have written to use gdb to debug a running kernel for     a 32-bit system. Thanks, Prabhu and this is where it gets awkward since, as i've mentioned before, i'm currently trying