Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [MI non-stop 08/11] Enable all MI commands while inferiour is running
@ 2008-06-28 17:00 Vladimir Prus
  2008-07-11 13:47 ` Daniel Jacobowitz
  2008-07-13  6:00 ` Vladimir Prus
  0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Prus @ 2008-06-28 17:00 UTC (permalink / raw)
  To: gdb-patches


The previous patch enables all CLI commands when inferiour is running.
This one does same for MI. Will commit after core non-stop patches
are in.

- Volodya

	* mi/mi-main.c (mi_cmd_execute): Don't check if
	inferiour is executing.
---
 gdb/mi/mi-main.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 87c3257..0b5d076 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1202,23 +1202,6 @@ mi_cmd_execute (struct mi_parse *parse)
 	  error_stream (stb);
 	}
 
-      if ((!non_stop && any_running ())
-	  || (non_stop && is_running (inferior_ptid)))
-	{
-	  if (strcmp (parse->command, "exec-interrupt"))
-	    {
-	      struct ui_file *stb;
-	      stb = mem_fileopen ();
-
-	      fputs_unfiltered ("Cannot execute command ", stb);
-	      fputstr_unfiltered (parse->command, '"', stb);
-	      fputs_unfiltered (" while target running", stb);
-
-	      make_cleanup_ui_file_delete (stb);
-	      error_stream (stb);
-	    }
-	}
-
       current_token = xstrdup (parse->token);
       cleanup = make_cleanup (free_current_contents, &current_token);
       parse->cmd->argv_func (parse->command, parse->argv, parse->argc);
-- 
1.5.3.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [MI non-stop 08/11] Enable all MI commands while inferiour is  running
  2008-06-28 17:00 [MI non-stop 08/11] Enable all MI commands while inferiour is running Vladimir Prus
@ 2008-07-11 13:47 ` Daniel Jacobowitz
  2008-07-13  6:00 ` Vladimir Prus
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2008-07-11 13:47 UTC (permalink / raw)
  To: gdb-patches

On Sat, Jun 28, 2008 at 08:57:17PM +0400, Vladimir Prus wrote:
> 
> The previous patch enables all CLI commands when inferiour is running.
> This one does same for MI. Will commit after core non-stop patches
> are in.

Same comment applies as to the previous patch.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [MI non-stop 08/11] Enable all MI commands while inferiour is running
  2008-06-28 17:00 [MI non-stop 08/11] Enable all MI commands while inferiour is running Vladimir Prus
  2008-07-11 13:47 ` Daniel Jacobowitz
@ 2008-07-13  6:00 ` Vladimir Prus
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Prus @ 2008-07-13  6:00 UTC (permalink / raw)
  To: gdb-patches

Vladimir Prus wrote:

> 
> The previous patch enables all CLI commands when inferiour is running.
> This one does same for MI. Will commit after core non-stop patches
> are in.

Checked in without modifications.

- Volodya



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-13  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-28 17:00 [MI non-stop 08/11] Enable all MI commands while inferiour is running Vladimir Prus
2008-07-11 13:47 ` Daniel Jacobowitz
2008-07-13  6:00 ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox