gdb server: Fix buffer overrun - sprintf appends a terminating null to the data which...
[openocd.git] / src / server / startup.tcl
blob64ace40795e35a26033a8f6f69027f495a9e5cfc
1 # Defines basic Tcl procs for OpenOCD server modules
3 # Handle GDB 'R' packet. Can be overridden by configuration script,
4 # but it's not something one would expect target scripts to do
5 # normally
6 proc ocd_gdb_restart {target_id} {
7 # Fix!!! we're resetting all targets here! Really we should reset only
8 # one target
9 reset halt