mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
import gdb-1999-07-19 snapshot
This commit is contained in:
@ -962,7 +962,8 @@ target_preopen (from_tty)
|
||||
|
||||
if (target_has_execution)
|
||||
{
|
||||
if (query ("A program is being debugged already. Kill it? "))
|
||||
if (!from_tty
|
||||
|| query ("A program is being debugged already. Kill it? "))
|
||||
target_kill ();
|
||||
else
|
||||
error ("Program not killed.");
|
||||
|
Reference in New Issue
Block a user