diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-22 13:09:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-04 10:55:19 -0700 |
commit | 95d7853ebb9258f938839ef257242f10851c7c09 (patch) | |
tree | 22859ba4fe68babb832f8ee8abe00b143a6ea557 /gdb/sparc64fbsd-tdep.c | |
parent | e4630f71b252fa13df07f93d427e7c9f4505c1fe (diff) | |
download | fsf-binutils-gdb-95d7853ebb9258f938839ef257242f10851c7c09.zip fsf-binutils-gdb-95d7853ebb9258f938839ef257242f10851c7c09.tar.gz fsf-binutils-gdb-95d7853ebb9258f938839ef257242f10851c7c09.tar.bz2 |
fix up log-file toggling
Currently a proc in gdb.exp toggles the expect (and thus dejagnu)
logging. This is not a super idea, but it is there to avoid putting
some preprocessor output into the log.
In the right circumstances, this can result in the log file being
mysteriously truncated. I think this happens because it doesn't
necessarily write to the correct log file again.
The fix is to use "log_file -info" to save the previous log file.
2013-11-04 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp (get_compiler_info): Use log_file -info and
restore from that.
Diffstat (limited to 'gdb/sparc64fbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions