From 8c7cb01a296c3f91372505b67be76ca41f0665a6 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 7 Oct 2022 16:17:35 +0200 Subject: [PATCH] [gdb/testsuite] Remove unnecessary warning in gdb.base/default.exp When running test-case gdb.base/default.exp with target board native-gdbserver, we get: ... WARNING: Skipping backtrace and break tests because of GDB stub. ... There's no need for such a warning, so remove it. Tested on x86_64-linux with native and target board native-gdbserver. --- gdb/testsuite/gdb.base/default.exp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index e1e0d311b6c..29e76642830 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -66,8 +66,6 @@ if !$use_gdb_stub { foreach i "bt ba bac" { gdb_test $i "No stack." "backtrace \"$i\" abbreviation" } -} else { - warning "Skipping backtrace and break tests because of GDB stub." } gdb_test "continue" "The program is not being run." -- 2.30.2