Hi,
In the latest KDB v3.0 patch, I can't find any way to use a hardware
debug register under Itanium platform. Could you please tell me why you
don't add that feature for IA64 as what you do for IA32?
I investigated the IA64 System Architecture Specification and
decided to changed some of the IA64 related code in KDB to support hardware
debugging. Now, the patch is finished. Please take a look at the attachment.
This patch is based on KDB v3.0 with Linux Kernel 2.4.20.
I have tested it on an Itanium machine. Hardware Instruction
breakpoint works well, but a little problem related to hardware data
breakpoint still exists. The dd(disable data debug fault) bit in
PSR(Processor Status Register) is defined to disable the data debug fault on
the first IA64 restart instruction after KDB exit from a data debug fault.
But it doesn't work, the same hardware data breakpoint is triggered again
and again. That means you cann't exit KDB unless this data breakpoint is
disabled.
Any suggestions?
I also plan to enhance this feature to support different hardware
breakpoints on different CPUs as I did for IA32. I may submit a full patch
for both IA32 and IA64 in the future.
Thank you.
*************************************
Sonic Zhang
Software Engineer
Intel China Software Lab
Tel: 021-52574545-1667
iNet: 8-752-1667
*************************************
kdb-hdr-v3.0-2.4.20-ia64-1.patch
Description: Binary data
