diff options
author | aburgess <aburgess> | 2013-08-01 09:09:57 +0000 |
---|---|---|
committer | aburgess <aburgess> | 2013-08-01 09:09:57 +0000 |
commit | 679592fa11267d1e95e52ad0a4761b0bd8fa66dd (patch) | |
tree | ad5ff18c94ae075e408e824b8751844bde5466b7 /gdb/cli/cli-script.c | |
parent | d18d79ffd1a573842d30cf062ba1fc6ed544644e (diff) | |
download | gdb-679592fa11267d1e95e52ad0a4761b0bd8fa66dd.tar.gz |
Remove error_pre_print and quit_pre_print.
http://sourceware.org/ml/gdb-patches/2013-07/msg00844.html
gdb/ChangeLog
* cli/cli-script.c (script_from_file): Remove use of
error_pre_print.
* main.c (captured_main): Remove use of error_pre_print and
quit_pre_print.
* utils.c (error_pre_print, quit_pre_print): Remove.
* utils.h (error_pre_print, quit_pre_print): Likewise.
Diffstat (limited to 'gdb/cli/cli-script.c')
-rw-r--r-- | gdb/cli/cli-script.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index d35f42fc46b..6ea3243d31f 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1636,9 +1636,6 @@ script_from_file (FILE *stream, const char *file) old_cleanups = make_cleanup (source_cleanup_lines, &old_lines); source_line_number = 0; source_file_name = file; - /* This will get set every time we read a line. So it won't stay "" - for long. */ - error_pre_print = ""; { volatile struct gdb_exception e; |