diff options
| author | Jan Vrany <jan.vrany@labware.com> | 2026-02-22 08:56:51 +0000 |
|---|---|---|
| committer | Jan Vrany <jan.vrany@labware.com> | 2026-02-22 08:56:51 +0000 |
| commit | 130abadf1af1093f60537136560a184461604d23 (patch) | |
| tree | ef1415fc4326f424020268992cbffce2b9ff2e67 /gdb | |
| parent | 9122dc471ad9a2995fd7021dc8678abe5ec6de82 (diff) | |
| download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 | |
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.exp | 4 |
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 \ |
