aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-08-01 09:09:58 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-08-01 09:09:58 +0000
commitb2ae85cf8a39ee70458c7e971181929e1b99aa65 (patch)
tree3d921a209b06ae6cc975affea12f29db105a7dfd /gdb/main.c
parent6d075bce124174c8809ec27a602382bcd4bf40e8 (diff)
downloadgdb-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/main.c')
-rw-r--r--gdb/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 677f587..1c240e4 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -885,8 +885,6 @@ captured_main (void *data)
}
/* Set off error and warning messages with a blank line. */
- error_pre_print = "\n";
- quit_pre_print = error_pre_print;
warning_pre_print = _("\nwarning: ");
/* Read and execute the system-wide gdbinit file, if it exists.
@@ -990,8 +988,6 @@ captured_main (void *data)
set_inferior_io_terminal (ttyarg);
/* Error messages should no longer be distinguished with extra output. */
- error_pre_print = NULL;
- quit_pre_print = NULL;
warning_pre_print = _("warning: ");
/* Read the .gdbinit file in the current directory, *if* it isn't