Hello everyone,
After setting up the translation map in the debug configuration (Debugger->OS Awareness->Target OS(Linux)->Debug) the software breakpoints have started to work on a P2020RDB (32-bit) kernel module debug but still I am not able to get it working on T4240RDB (64-bit) kernel module debug.
What values should be specified for :
- Physical base address:
- Virtual base address:
- Memory size:
for T4240RDB (64-bit) kernel module debugging. Currently I have specified the following values for T4240RDB but no luck :
- Physical base address: 0x0
- Virtual base address: 0xc000000000000000
- Memory size: 0x0000000180000000 (Not sure about this because there is no LOWMEM_SIZE option in the KConfig for PPC-64)
I have also tried setting up Memory Size as the sum of the page sizes of all valid TLB1 entries but that also doesn't help and I don't see any Virtual to physical address translation going on when I try to insert a software bp in the Kmod, however as already mentioned hardrware breakpoints are working fine which means that my KMod addresses are valid.
Any help ????
I am using 4K as the page size.