This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog cli/cli-logging.c
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 2 Sep 2010 15:42:03 -0000
- Subject: src/gdb ChangeLog cli/cli-logging.c
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-09-02 15:42:03
Modified files:
gdb : ChangeLog
gdb/cli : cli-logging.c
Log message:
gdb/
* cli-logging.c: Include gdb_assert.h.
(set_logging_overwrite): New function.
(logging_redirect): New comment.
(logging_no_redirect_file, set_logging_redirect)
(pop_output_files) <logging_no_redirect_file>: New.
(handle_redirections) <!logging_redirect>: New variable
no_redirect_file. Remove file autoclose for tee_file_new. No longer
discard cleanup for the close of former OUTPUT. Set
LOGGING_NO_REDIRECT_FILE.
(handle_redirections) <logging_redirect>: gdb_assert
LOGGING_NO_REDIRECT_FILE.
(show_logging_command) <logging_redirect handling>: Adjust messages
for SAVED_FILENAME not NULL.
(_initialize_cli_logging): Install set_logging_overwrite and
set_logging_redirect.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12144&r2=1.12145
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-logging.c.diff?cvsroot=src&r1=1.23&r2=1.24