Hi~ All
        I debugging my linux kernel for KS32C50100 ARM7 cpu using the JENNI
        + GDB5.0 through serial port.
        When I trace the kernel at steup_timer().
        It will be return mktime(2000,1,7,0,0,0);.
        My GDB are hold at the code,and can't go next step.
        
        return (((
                    (unsigned long)(year/4 - year/100 + year/400 +
                      367*mon/12 +
                      year*365 - 719499
                    )*24 + hour /* now have hours */
                   )*60 + min /* now have minutes */
                  )*60 + sec; /* finally seconds */

        Anybody can give me some suggestion about the case?

Thanks and Best Regards.

by Jimmy Yang 

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to