diff options
author | Pedro Alves <palves@redhat.com> | 2008-06-05 21:35:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-06-05 21:35:00 +0000 |
commit | 75c99385347dccd47be824629ed4dda494bfc037 (patch) | |
tree | 5da9cbe9bbb082fb5515ea54b78d49489edc4b64 /gdb/doc | |
parent | cf30943b935788478e058f6c7d9d796b90ecea8c (diff) | |
download | gdb-75c99385347dccd47be824629ed4dda494bfc037.zip gdb-75c99385347dccd47be824629ed4dda494bfc037.tar.gz gdb-75c99385347dccd47be824629ed4dda494bfc037.tar.bz2 |
Replace 'target async' by 'maintenance set remote-async' and
'target remote' combination.
* remote.c (remote_async_wait): Merge into remote_wait, and
remove.
(remote_async_permitted, remote_async_permitted_set): New
variables.
(set_maintenance_remote_async_permitted)
(show_maintenance_remote_async_permitted): New functions.
(remote_async_ops, extended_async_remote_ops): Delete.
(remote_async_open, extended_remote_async_open): Delete.
(remote_open_1): Drop async_p parameter. Update callers. Replace
async_p with remote_async_permitted checks.
(extended_async_remote_attach): Delete.
(remote_resume, remote_async_resume): Merge and leave remote_resume.
(remote_async_terminal_inferior): Rename to...
(remote_terminal_inferior): ... this, and add
remote_async_termitted check.
(remote_async_terminal_ours): Rename to...
(remote_terminal_ours): ... this, and add remote_async_termitted
check.
(remote_wait, remote_async_wait): Merge and leave remote_wait
only.
(remote_kill, remote_async_kill): Merge and leave remote_kill
only.
(remote_async_mourn, extended_async_remote_mourn): Delete.
(extended_remote_create_inferior_1): Drop async_p parameter.
Update callers. Always use extended_remote_ops.
(extended_remote_async_create_inferior): Delete.
(remote_return_zero): Delete.
(init_remote_ops): Register remote_can_async_p, remote_async,
remote_async_mask, remote_terminal_inferior and
remote_terminal_ours.
(remote_can_async_p, remote_is_async_p): Check for
remote_async_permitted.
(init_remote_async_ops, init_extended_async_remote_ops): Remove.
(set_remote_cmd): Don't add async and extended-async targets.
(_initialize_remote): Add set/show remote-async maintenance
commands.
gdb/doc/
* gdb.texinfo (-target-select): Remove reference to target async.
(Maintenance Commands): Document "maint set/show remote-async".
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7a42906..123f34e 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-05 Pedro Alves <pedro@codesourcery.com> + + * gdb.texinfo (-target-select): Remove reference to target async. + (Maintenance Commands): Document "maint set/show remote-async". + 2008-06-04 Marc Khouzam <marc.khouzam@ericsson.com> * gdb.texinfo (GDB/MI File Transfer Commands): Typo diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 21ca9c7..efb9ea7 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -21835,7 +21835,7 @@ Connect @value{GDBN} to the remote target. This command takes two args: @table @samp @item @var{type} -The type of target, for instance @samp{async}, @samp{remote}, etc. +The type of target, for instance @samp{remote}, etc. @item @var{parameters} Device names, host names and the like. @xref{Target Commands, , Commands for Managing Targets}, for more details. @@ -21857,7 +21857,7 @@ The corresponding @value{GDBN} command is @samp{target}. @smallexample (gdb) --target-select async /dev/ttya +-target-select remote /dev/ttya ^connected,addr="0xfe00a300",func="??",args=[] (gdb) @end smallexample @@ -23546,6 +23546,16 @@ Control the GNU/Linux native asynchronous support of @value{GDBN}. GNU/Linux native asynchronous support will be disabled until you use the @samp{maint set linux-async} command to enable it. +@kindex maint set remote-async +@kindex maint show remote-async +@cindex asynchronous support +@item maint set remote-async +@itemx maint show remote-async +Control the remote asynchronous support of @value{GDBN}. + +Remote asynchronous support will be disabled until you use +the @samp{maint set remote-async} command to enable it. + @kindex maint show-debug-regs @cindex x86 hardware debug registers @item maint show-debug-regs |