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.
This commit is contained in:
Andrew Burgess 2013-08-01 09:09:58 +00:00
parent 6d075bce12
commit b2ae85cf8a
5 changed files with 9 additions and 23 deletions

View file

@ -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;