Re: using gdb to debug a 64-bit kernel

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

 



On Thu, Jul 8, 2010 at 02:13, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>  in fact, that's exactly the right value based on this snippet from
> init/main.c:
>
>  unsigned long loops_per_jiffy = (1<<12);
>
> which is, of course, 4096.


Thanks for sharing....so it's fixed in 64 bit environment...I assumen
it's x64...not IA 64. So pls CMIIW about my assumption

>
>  but i still don't know why i can't print the changing value of
> jiffies if i clear the cache with:
>
>  (gdb) core-file /proc/kcore

But, is it changing if you quit gdb and run it again? Just a stupid
confirmation..


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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