From b2ae85cf8a39ee70458c7e971181929e1b99aa65 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 1 Aug 2013 09:09:58 +0000 Subject: 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. --- gdb/cli/cli-script.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/cli/cli-script.c') diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index d35f42f..6ea3243 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; -- cgit v1.1