diff options
author | Doug Evans <dje@google.com> | 2011-05-13 17:31:07 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-05-13 17:31:07 +0000 |
commit | 01124a23b32e1d40eefe063aa416438d71ba0240 (patch) | |
tree | 5762327207e3693e5a4b2969c841df4165af4568 /gdb/doc | |
parent | 6edba76fe8b37bf2a8f7c84353aa0252724bf293 (diff) | |
download | gdb-01124a23b32e1d40eefe063aa416438d71ba0240.zip gdb-01124a23b32e1d40eefe063aa416438d71ba0240.tar.gz gdb-01124a23b32e1d40eefe063aa416438d71ba0240.tar.bz2 |
* linux-nat.c (debug_linux_nat_async): Delete.
Replace all references to use debug_linux_nat instead.
(show_debug_linux_nat_async): Delete.
(sigchld_handler): Call ui_file_write_async_safe instead of
fprintf_unfiltered.
(_initialize_linux_nat): Remove `set debug lin-lwp-async'.
* ui-file.c (struct ui_file): New member to_write_async_safe.
(null_file_write_async_safe): New function.
(ui_file_write_async_safe): New function.
(set_ui_file_write_async_safe): New function.
(ui_file_new): Initialize to_write_async_safe.
(stdio_file_write_async_safe): New function.
(struct stdio_file): New member fd.
(stdio_file_new): Initialize to_write_async_safe, fd.
(stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling fileno.
* ui-file.h (ui_file_write_async_safe_ftype): New typedef.
(set_ui_file_write_async_safe): Declare.
(ui_file_write_async_safe): Declare.
doc/
* gdb.texinfo (Completion): Update example.
(Debugging Output): Delete `set/show debug lin-lwp-async'.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 13 |
2 files changed, 10 insertions, 8 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 40f93ee..d7a6c1d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-13 Doug Evans <dje@google.com> + + * gdb.texinfo (Completion): Update example. + (Debugging Output): Delete `set/show debug lin-lwp-async'. + 2011-05-12 Kwok Cheung Yeung <kcy@codesourcery.com> * gdb.texinfo: Document change in the behaviour of the enable and diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 67436dd..aadbd70 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -1592,8 +1592,10 @@ left-hand-side: @smallexample (@value{GDBP}) p gdb_stdout.@kbd{M-?} -magic to_delete to_fputs to_put to_rewind -to_data to_flush to_isatty to_read to_write +magic to_fputs to_rewind +to_data to_isatty to_write +to_delete to_put to_write_async_safe +to_flush to_read @end smallexample @noindent @@ -1607,6 +1609,7 @@ struct ui_file int *magic; ui_file_flush_ftype *to_flush; ui_file_write_ftype *to_write; + ui_file_write_async_safe_ftype *to_write_async_safe; ui_file_fputs_ftype *to_fputs; ui_file_read_ftype *to_read; ui_file_delete_ftype *to_delete; @@ -20071,12 +20074,6 @@ Displays the current state of @value{GDBN} JIT debugging. Turns on or off debugging messages from the Linux LWP debug support. @item show debug lin-lwp Show the current state of Linux LWP debugging messages. -@item set debug lin-lwp-async -@cindex @sc{gnu}/Linux LWP async debug messages -@cindex Linux lightweight processes -Turns on or off debugging messages from the Linux LWP async debug support. -@item show debug lin-lwp-async -Show the current state of Linux LWP async debugging messages. @item set debug observer @cindex observer debugging info Turns on or off display of @value{GDBN} observer debugging. This |