Am trying to do JTAG OS aware debugging on TI 8148EVM with ARM-based Linux Kernel. I get my system setup and load the debug configuration. All goes well loading Linux symbols. I then connect to the target and Enable OS Debugging. Prior to this I setup the debug configuration with my module name and the path where the symbols could be loaded from. I then run the target and do an insmod on my kernel module. I then suspend the target and can see the kernel module added in the Modules window. The path to the symbols looks ok, but the Code base address and the Data base address are not correct. The Code base address indicates 0xC0008000 (the same address where the Linux Kernel code is loaded) and the correct Code base address is 0xBF008000.
If I view the functions for the module (in the Modules window) all the addresses for the functions are also wrong, they appear like they may be offsets from the base because the upper 16-bits of the displayed 32-bit addresses are all zeroes, for all the functions.
Am I doing something wrong here?