aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb/complaints.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-16 22:27:50 -0600
committerTom Tromey <tom@tromey.com>2018-05-23 09:17:00 -0600
commit4e9668d0d1ddad73af7c20a92a00704fbea2a8d9 (patch)
tree64086a5c9fce88f392468284e025b7fca6583128 /gdb/testsuite/gdb.gdb/complaints.exp
parent43ba33c7689a9eeb20a3c36ecb9867574963ee0e (diff)
downloadgdb-4e9668d0d1ddad73af7c20a92a00704fbea2a8d9.zip
gdb-4e9668d0d1ddad73af7c20a92a00704fbea2a8d9.tar.gz
gdb-4e9668d0d1ddad73af7c20a92a00704fbea2a8d9.tar.bz2
Remove "noisy" parameter from clear_complaints
After the previous patch, the "noisy" parameter to clear_complaints is no longer used, so this patch removes it. gdb/ChangeLog 2018-05-23 Tom Tromey <tom@tromey.com> * complaints.c (clear_complaints): Remove "noisy" parameter. * complaints.h (clear_complaints): Update. * symfile.c (syms_from_objfile_1, finish_new_objfile) (reread_symbols): Update. gdb/testsuite/ChangeLog 2018-05-23 Tom Tromey <tom@tromey.com> * gdb.gdb/complaints.exp (test_empty_complaints): Update.
Diffstat (limited to 'gdb/testsuite/gdb.gdb/complaints.exp')
-rw-r--r--gdb/testsuite/gdb.gdb/complaints.exp14
1 files changed, 5 insertions, 9 deletions
diff --git a/gdb/testsuite/gdb.gdb/complaints.exp b/gdb/testsuite/gdb.gdb/complaints.exp
index 1d532b7..774ff89 100644
--- a/gdb/testsuite/gdb.gdb/complaints.exp
+++ b/gdb/testsuite/gdb.gdb/complaints.exp
@@ -88,7 +88,7 @@ proc test_initial_complaints { } {
# For short complaints, all are the same
proc test_short_complaints { } {
- gdb_test_exact "call clear_complaints (&symfile_complaints, 1, 1)" "" "short start"
+ gdb_test_exact "call clear_complaints (&symfile_complaints, 1)" "" "short start"
# Prime the system
test_complaint \
@@ -131,14 +131,10 @@ proc test_empty_complaint { cmd msg } {
proc test_empty_complaints { } {
- test_empty_complaint "call clear_complaints(&symfile_complaints,0,0)" \
- "empty non-verbose non-noisy clear"
- test_empty_complaint "call clear_complaints(&symfile_complaints,1,0)" \
- "empty verbose non-noisy clear"
- test_empty_complaint "call clear_complaints(&symfile_complaints,1,1)" \
- "empty verbose noisy clear"
- test_empty_complaint "call clear_complaints(&symfile_complaints,0,1)" \
- "empty non-verbose noisy clear"
+ test_empty_complaint "call clear_complaints(&symfile_complaints,0)" \
+ "empty non-verbose clear"
+ test_empty_complaint "call clear_complaints(&symfile_complaints,1)" \
+ "empty verbose clear"
return 0
}