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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c19b73..65d92b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,24 @@ +2011-05-13 Doug Evans <dje@google.com> + + * 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. + 2011-05-13 Tom Tromey <tromey@redhat.com> * utils.c (do_value_free): New function. |