summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2012-05-09 11:47:12 +0000
committerPedro Alves <pedro@codesourcery.com>2012-05-09 11:47:12 +0000
commit9a332a5ddd4b117cd167fb178f96b9d60df3704f (patch)
tree561af1349a473862fb2bcb14490593edf53e6bb2 /gdb/target.c
parent589385d0d55f4e45b8855586fb09573057db1c98 (diff)
downloadgdb-9a332a5ddd4b117cd167fb178f96b9d60df3704f.tar.gz
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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/target.c b/gdb/target.c
index cffea2cefc7..5361dbc6cbf 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -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);