Re: Kernel hacking questions

2002-06-12 Thread Arun Sharma
On Tue, Jun 11, 2002 at 04:36:47AM -0400, John Baldwin wrote: > > 2. How do I trace back funcname+offset to a particular line of C code ? > >I tried objdump -d and gcc -S, but it's not easy to read. I thought > >there was a way to get gcc to interleave the C code and the generated > >a

RE: Kernel hacking questions

2002-06-11 Thread John Baldwin
On 10-Jun-2002 Arun Sharma wrote: > 1. Can I use a SMP kernel and bring it up with just one CPU on a two CPU >machine ? Hmm, on alpha you can, I don't think we support that on i386, but it would be easy enough to tweak. > 2. How do I trace back funcname+offset to a particular line of C code

Kernel hacking questions

2002-06-09 Thread Arun Sharma
1. Can I use a SMP kernel and bring it up with just one CPU on a two CPU machine ? 2. How do I trace back funcname+offset to a particular line of C code ? I tried objdump -d and gcc -S, but it's not easy to read. I thought there was a way to get gcc to interleave the C code and the gener