summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-03-22 07:48:33 -0400
committerDoug Evans <xdje42@gmail.com>2014-03-22 07:48:33 -0400
commit0a07590bf432ef8d03fcfdc7849a6f03ec05f2b5 (patch)
tree014ccdc7cfe438dc15490e542692432f87ced6fc
parenta4ff09242a4017c6e1a3b4bf5a53d45d305ca61c (diff)
downloadbinutils-gdb-0a07590bf432ef8d03fcfdc7849a6f03ec05f2b5.tar.gz
* infcmd.c (interrupt_command): Renamed from interrupt_target_command.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2f9d6d5a67..6e96d133301 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-22 Doug Evans <xdje42@gmail.com>
+
+ * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
+ All uses updated.
+
2014-03-22 Yao Qi <yao@codesourcery.com>
* remote.c (target_read_live_memory): Remove.
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 2e70b474d63..16a1d54dd8d 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -2700,7 +2700,7 @@ interrupt_target_1 (int all_threads)
/* interrupt [-a] */
static void
-interrupt_target_command (char *args, int from_tty)
+interrupt_command (char *args, int from_tty)
{
if (target_can_async_p ())
{
@@ -3067,7 +3067,7 @@ You may specify arguments to give to your program, just as with the\n\
\"run\" command."));
set_cmd_completer (c, filename_completer);
- add_com ("interrupt", class_run, interrupt_target_command,
+ add_com ("interrupt", class_run, interrupt_command,
_("Interrupt the execution of the debugged program.\n\
If non-stop mode is enabled, interrupt only the current thread,\n\
otherwise all the threads in the program are stopped. To \n\