tcl/target/ti_k3: Add a gdb-attach event hook for m3 and m4
authorNishanth Menon <nm@ti.com>
Sat, 2 Oct 2021 03:48:34 +0000 (22:48 -0500)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Mar 2022 09:39:48 +0000 (09:39 +0000)
commitc280c9835705a7d104996569068826a73b665010
tree6598be96cad820e877753c4a994f0b2bf6a651ae
parent2b17a128841c9431f17aaad844f416eccd24f63f
tcl/target/ti_k3: Add a gdb-attach event hook for m3 and m4

Add gdb-attach event to call the "up" function of m3 and m4 allowing for
more seamless integration with gdb for end users. We still retain _up
functions for non-gdb functionality.

NOTE: we add a halt 1000 to retain the default gdb-attach hook behavior

Suggested-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Change-Id: I2e51fdbd8756f156551e589c748c3a338afa655c
Reviewed-on: https://review.openocd.org/c/openocd/+/6615
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/target/ti_k3.cfg