diff options
author | Pedro Alves <palves@redhat.com> | 2012-05-09 11:47:14 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-05-09 11:47:14 +0000 |
commit | 9401a810a55041b82e01cb0edccc46afd35011c9 (patch) | |
tree | 6aed783e0eba5841235d759cc0e2f1f9acba5843 | |
parent | 3929b32137f59422c6d03ee62499371b79ffe598 (diff) | |
download | gdb-9401a810a55041b82e01cb0edccc46afd35011c9.zip gdb-9401a810a55041b82e01cb0edccc46afd35011c9.tar.gz gdb-9401a810a55041b82e01cb0edccc46afd35011c9.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/target.c | 14 |
2 files changed, 15 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6af8780..309473e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/target.c b/gdb/target.c index cffea2c..5361dbc 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); |