Hello KGDB experts,

I am working on adding hardware watchpoint support for aarch64 target system.
I implemented functions for aarch kgdb in similar style of x86.
I implemented set_hw_breakpoint and family in arch_kgdb_ops for
arch/arm64/kernel/kgdb.c.

So far I am able to set hw watchpoint. But the issue is when hw
watchpoint is hit, neigher KGDB or GDB acknowledges.
My target system is waiting for some response bug no message via
printk seen on KGDB console or GDB console. (no remote protocol
packets between gdb and kgdb)
I was hoping that kgdb_notify shall get called in this case.

I am sure that hardware watch point is being hit. To confirm it, I
connected the target system using trace32 and one of CPU core is
stopped at code where it is updated the watchpoint variable.

Does anyone know if kgdb_notify or kgdb_hw_overflow_handler shall be
getting called?

Kindly let me know.

(if interested, I will share the patch I am working on)

Thanks,
Prafull

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to