diff options
author | Andrew Burgess <aburgess@broadcom.com> | 2013-08-01 09:09:58 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@broadcom.com> | 2013-08-01 09:09:58 +0000 |
commit | b2ae85cf8a39ee70458c7e971181929e1b99aa65 (patch) | |
tree | 3d921a209b06ae6cc975affea12f29db105a7dfd /gdb/cli | |
parent | 6d075bce124174c8809ec27a602382bcd4bf40e8 (diff) | |
download | gdb-b2ae85cf8a39ee70458c7e971181929e1b99aa65.zip gdb-b2ae85cf8a39ee70458c7e971181929e1b99aa65.tar.gz gdb-b2ae85cf8a39ee70458c7e971181929e1b99aa65.tar.bz2 |
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')
-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 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; |