public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [committed][gdb/testsuite] Remove unnecessary warning in gdb.base/default.exp
@ 2022-10-07 14:19 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-10-07 14:19 UTC (permalink / raw)
  To: gdb-patches

Hi,

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.

Committed to trunk.

Thanks,
- Tom

[gdb/testsuite] Remove unnecessary warning in gdb.base/default.exp

---
 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."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-07 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-07 14:19 [committed][gdb/testsuite] Remove unnecessary warning in gdb.base/default.exp Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).