diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-07-27 21:31:40 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-07-27 21:31:40 +0000 |
commit | e896d70e97e373d8a8c5120c1fad9d94f1984389 (patch) | |
tree | f83235ad97e363586ebe0bc6bb9d40ecb5d8e408 | |
parent | f58b68aaeeffd7efc0d419f7c81c523423e955ad (diff) | |
download | gdb-e896d70e97e373d8a8c5120c1fad9d94f1984389.zip gdb-e896d70e97e373d8a8c5120c1fad9d94f1984389.tar.gz gdb-e896d70e97e373d8a8c5120c1fad9d94f1984389.tar.bz2 |
* main.c (captured_main): Print a newline after calling
print_gdb_version instead of waiting until after the symbol file
has been read. Adjust error_pre_print, quit_pre_print, and
warning_pre_print values.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/main.c | 16 |
2 files changed, 11 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 55318a8..4b0ae0e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2006-07-27 Bob Wilson <bob.wilson@acm.org> + + * main.c (captured_main): Print a newline after calling + print_gdb_version instead of waiting until after the symbol file + has been read. Adjust error_pre_print, quit_pre_print, and + warning_pre_print values. + 2006-07-27 Roger Sayle <roger@eyesopen.com> Daniel Jacobowitz <dan@codesourcery.com> @@ -589,6 +589,7 @@ extern int gdbtk_test (char *); if (symarg) printf_filtered (".."); wrap_here (""); + printf_filtered ("\n"); gdb_flush (gdb_stdout); /* Force to screen during slow operations */ } @@ -623,13 +624,13 @@ extern int gdbtk_test (char *); if (symarg) printf_filtered (".."); wrap_here (""); + printf_filtered ("\n"); gdb_flush (gdb_stdout); /* Force to screen during slow operations */ } - error_pre_print = "\n\n"; + /* Set off error and warning messages with a blank line. */ + error_pre_print = "\n"; quit_pre_print = error_pre_print; - - /* We may get more than one warning, don't double space all of them... */ warning_pre_print = _("\nwarning: "); /* Read and execute $HOME/.gdbinit file, if it exists. This is done @@ -688,15 +689,6 @@ extern int gdbtk_test (char *); catch_command_errors (symbol_file_add_main, symarg, 0, RETURN_MASK_ALL); } - /* After the symbol file has been read, print a newline to get us - beyond the copyright line... But errors should still set off - the error message with a (single) blank line. */ - if (!quiet) - printf_filtered ("\n"); - error_pre_print = "\n"; - quit_pre_print = error_pre_print; - warning_pre_print = _("\nwarning: "); - if (corearg != NULL) { /* corearg may be either a corefile or a pid. |