On Thu, 8 Jul 2010, Mulyadi Santosa wrote: > On Thu, Jul 8, 2010 at 01:19, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > > > however, since this *is* a 64-bit system, i apparently have no such > > symbol, i would just use: > > > > (gdb) p __jiffies > > $12 = 4294937296 > > (gdb) p __jiffies > > $13 = 4294937296 > > (gdb) p __jiffies > > $14 = 4294937296 > > two things I would check first: > - is the vmlinux file really the kernel uncompressed image of current > running kernel? i'm pretty sure that's true -- "uname -r" tells me: "2.6.35-rc4-rday", while when i start gdb, i get: ... Core was generated by `BOOT_IMAGE=/vmlinuz-2.6.35-rc4-rday i don't know how much more confident i can be that vmlinux matches the running kernel -- that's the only vmlinux file on the system. > - is your gdb capable to interpret 64 bit data and "report" it in 32 > bit realm? i'm not even sure what you're asking -- i simply installed gdb on this 64-bit version of ubuntu, what else do i need to worry about? and remember, i did say that this was the first time i've tried this on a 64-bit system so it may well be that there's something really obvious i don't know. rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Top-notch, inexpensive online Linux/OSS/kernel courses http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ