b323ffa record: do not allow record goto on a running thread

Authored and Committed by Markus Metzger 7 years ago
1 file changed. 14 lines added. 0 lines removed.
    record: do not allow record goto on a running thread
    
    We can't start replaying if the selected thread is currently running.  Throw an
    error in this case.
    
    Signed-off-by: Markus Metzger  <markus.t.metzger@intel.com>
    
    gdb/
    	* record.c: Include gdbthread.h
    	(require_not_running): New.
    	(record_goto, cmd_record_goto_begin, cmd_record_goto_end): Call
    	require_not_running.
    
    Change-Id: I15888d668b6011217337cf3a63d3618fb044c023
    
        
file modified
+14 -0