riscv-openocd/src/server
Antonio Borneo 0cba5b4ea3 gdb_server: remove call to jtag_execute_queue()
In the initial commit 6c9b804d61
in 2007's svn://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 ef1cfb2394
in 2008's svn://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 bb3793c9a4
("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 <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4911
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2019-06-06 16:33:41 +01:00
..
Makefile.am helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
gdb_server.c gdb_server: remove call to jtag_execute_queue() 2019-06-06 16:33:41 +01:00
gdb_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00
server.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
server.h server/server: Add ability to remove services 2018-08-01 14:34:13 +01:00
server_stubs.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
startup.tcl Fix a bunch of typos. 2011-03-17 07:25:25 +01:00
tcl_server.c tcl_server: fix minor typo in comment 2019-04-03 21:59:59 +01:00
tcl_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00
telnet_server.c server: free strduped port numbers 2018-03-15 17:08:53 +00:00
telnet_server.h server: free strduped port numbers 2018-03-15 17:08:53 +00:00