Dear all: I have some questions when useing opoecd: 1. I compile my kernel with "-g" option and also remove the CFLAG of "optimize for size". But when I use host gdb connect to the gdbserver on openocd throught port 4444. I find the the source code show in host gdb is wrong. (for example, the beginning of kernel is head.s but the content I see is some place in a c file)
did I miss some setting while compileing kernel? Or it comes from my different version of host gdb and gdbserver in openocd? ( my toolchain host gdb is 6.8 but I have no idea how to check the version of gdbserver in opocd) 2. sometimes I will see the wrong value in mips cp0 registers from openocd. ( I say it wrong because I use assembly to store the value in cp0 to memory and compare it with openocd shows up. I find they are different) appreciate your help, miloody _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development