Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdb_server: remove call to jtag_execute_queue()
In the initial commit 6c9b804 in 2007's svn:https://svn.berlios.de/openocd/trunk@246 a target script gdb_program_config was called before gdb flash programming. To guarantee the script does not left any pending command in the jtag queue, a call to jtag_execute_queue() was inserted after the execution of the script. In following commit ef1cfb2 in 2008's svn:https://svn.berlios.de/openocd/trunk@975 the script was replaced by the event "old-gdb_program_config" and the call to jtag_execute_queue() get executed in every case, even if the event handler was not present. At last, commit bb3793c ("target: remove legacy target events") stripped away the obsolete event but left the call to jtag_execute_queue(), now completely useless. Remove the call to jtag_execute_queue() and clean-up the code around it. Change-Id: I284f54d656d431ad6cdc25ca18218c09db31bd25 Signed-off-by: Antonio Borneo <[email protected]> Reviewed-on: http:https://openocd.zylin.com/4911 Tested-by: jenkins Reviewed-by: Tomas Vanek <[email protected]>
- Loading branch information