aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@labware.com>2026-02-22 08:56:51 +0000
committerJan Vrany <jan.vrany@labware.com>2026-02-22 08:56:51 +0000
commit130abadf1af1093f60537136560a184461604d23 (patch)
treeef1415fc4326f424020268992cbffce2b9ff2e67 /gdb
parent9122dc471ad9a2995fd7021dc8678abe5ec6de82 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
gdb/testsuite: fix startup-hints.exp when running with -readnowHEADmaster
When running startup-hints.exp with readnow board, I get number of failures like: FAIL: gdb.base/startup-hints.exp: with_style=false: load_exec=true: test_for_hint_with_width: check for hint with width 0 The problem is that with -readnow, GDB prints "Expanding full symbols from ..." after "Reading symbols from ...". Fix by updating the test. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.base/startup-hints.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/startup-hints.exp b/gdb/testsuite/gdb.base/startup-hints.exp
index 555011f..daca646 100644
--- a/gdb/testsuite/gdb.base/startup-hints.exp
+++ b/gdb/testsuite/gdb.base/startup-hints.exp
@@ -210,6 +210,10 @@ proc_with_prefix test_for_hint_with_width { width load_exec with_style } {
}
append hint_re "\r\nReading symbols from [style [string_to_regexp $::binfile] $style]\\.\\.\\."
+
+ if { [readnow] } {
+ append hint_re "\r\nExpanding full symbols from [style [string_to_regexp $::binfile] $style]\\.\\.\\."
+ }
}
gdb_test "" $hint_re \