diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-16 22:23:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-23 09:16:59 -0600 |
commit | 43ba33c7689a9eeb20a3c36ecb9867574963ee0e (patch) | |
tree | 6b1acffd6809b7d4afe92ed366b9f6f360b81267 /gdb/testsuite/gdb.gdb | |
parent | 2b9496b2b4781b21bc30a70337e24205f8a923d8 (diff) | |
download | gdb-43ba33c7689a9eeb20a3c36ecb9867574963ee0e.zip gdb-43ba33c7689a9eeb20a3c36ecb9867574963ee0e.tar.gz gdb-43ba33c7689a9eeb20a3c36ecb9867574963ee0e.tar.bz2 |
Remove elements from complaint_series
I couldn't find a way to get complaints to use a couple of cases, and
the difference between the actual printed output for these cases was
minimal anyway. So, this patch removes a couple of constants from
complaint_series, plus the associated code.
gdb/ChangeLog
2018-05-23 Tom Tromey <tom@tromey.com>
* complaints.c (enum complaint_series): Remove FIRST_MESSAGE,
SUBSEQUENT_MESSAGE.
(vcomplaint, clear_complaints): Update.
(symfile_explanations): Remove some messages.
gdb/testsuite/ChangeLog
2018-05-23 Tom Tromey <tom@tromey.com>
* gdb.gdb/complaints.exp (test_serial_complaints): Remove.
(test_short_complaints): Update.
Diffstat (limited to 'gdb/testsuite/gdb.gdb')
-rw-r--r-- | gdb/testsuite/gdb.gdb/complaints.exp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/testsuite/gdb.gdb/complaints.exp b/gdb/testsuite/gdb.gdb/complaints.exp index 56c3003..1d532b7 100644 --- a/gdb/testsuite/gdb.gdb/complaints.exp +++ b/gdb/testsuite/gdb.gdb/complaints.exp @@ -85,29 +85,6 @@ proc test_initial_complaints { } { return 0 } -proc test_serial_complaints { } { - gdb_test_exact "call clear_complaints (&symfile_complaints, 1, 0)" "" "serial start" - - # Prime the system - test_complaint \ - "call complaint_internal (&symfile_complaints, \"serial line 1\")" \ - "During symbol reading...serial line 1..." \ - "serial line 1" - - # Add a second complaint, expect it - test_complaint \ - "call complaint_internal (&symfile_complaints, \"serial line 2\")" \ - "serial line 2..." \ - "serial line 2" - - gdb_test_stdio "call clear_complaints (&symfile_complaints, 1, 0)" \ - "\r\n" \ - "" \ - "serial end" - - return 0 -} - # For short complaints, all are the same proc test_short_complaints { } { @@ -125,11 +102,6 @@ proc test_short_complaints { } { "short line 2..." \ "short line 2" - gdb_test_stdio "call clear_complaints (&symfile_complaints, 1, 0)" \ - "\r\n" \ - "" \ - "short end" - return 0 } @@ -173,7 +145,6 @@ proc test_empty_complaints { } { do_self_tests captured_command_loop { test_initial_complaints - test_serial_complaints test_short_complaints test_empty_complaints } |