2012-05-09 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Wed, 9 May 2012 11:47:14 +0000 (11:47 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 9 May 2012 11:47:14 +0000 (11:47 +0000)
* target.c (set_maintenance_target_async_permitted): Rename to ...
(set_target_async_command): ... this.
(show_maintenance_target_async_permitted): Rename to ...
(show_target_async_command): ... this.
(initialize_targets): Adjust.

gdb/ChangeLog
gdb/target.c

index 6af878090fb534c8e1fd95089f9fc77ddf326d58..309473ebdff4800155232685e5afda5b36ffb003 100644 (file)
@@ -1,3 +1,11 @@
+2012-05-09  Pedro Alves  <palves@redhat.com>
+
+       * target.c (set_maintenance_target_async_permitted): Rename to ...
+       (set_target_async_command): ... this.
+       (show_maintenance_target_async_permitted): Rename to ...
+       (show_target_async_command): ... this.
+       (initialize_targets): Adjust.
+
 2012-05-08  Doug Evans  <dje@google.com>
 
        * go-exp.y (classify_name): Add missing assignment of fields of
index cffea2cefc7a48f94074f957d1e97dada424be91..5361dbc6cbfdd36ffa1aef36003a5564c81b66ee 100644 (file)
@@ -4655,8 +4655,8 @@ int target_async_permitted = 0;
 static int target_async_permitted_1 = 0;
 
 static void
-set_maintenance_target_async_permitted (char *args, int from_tty,
-                                       struct cmd_list_element *c)
+set_target_async_command (char *args, int from_tty,
+                         struct cmd_list_element *c)
 {
   if (have_live_inferiors ())
     {
@@ -4668,9 +4668,9 @@ set_maintenance_target_async_permitted (char *args, int from_tty,
 }
 
 static void
-show_maintenance_target_async_permitted (struct ui_file *file, int from_tty,
-                                        struct cmd_list_element *c,
-                                        const char *value)
+show_target_async_command (struct ui_file *file, int from_tty,
+                          struct cmd_list_element *c,
+                          const char *value)
 {
   fprintf_filtered (file,
                    _("Controlling the inferior in "
@@ -4775,8 +4775,8 @@ result in significant performance improvement for remote targets."),
 Set whether gdb controls the inferior in asynchronous mode."), _("\
 Show whether gdb controls the inferior in asynchronous mode."), _("\
 Tells gdb whether to control the inferior in asynchronous mode."),
-                          set_maintenance_target_async_permitted,
-                          show_maintenance_target_async_permitted,
+                          set_target_async_command,
+                          show_target_async_command,
                           &setlist,
                           &showlist);