commit | 9dec38d3b11c779e8f386050ed5046aaa4e759db | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Tue Dec 07 07:51:25 2021 +0100 |
committer | Tom de Vries <tdevries@suse.de> | Tue Dec 07 07:51:25 2021 +0100 |
tree | 3be78ae3d32d3c789abb449740182b55293d0295 | |
parent | af5300fe24bf2f4e032d639a5396a16c1762b77b [diff] |
[gdb/symtab] Support -readnow during reread When running test-case gdb.base/cached-source-file.exp with target board readnow, we run into: ... FAIL: gdb.base/cached-source-file.exp: rerun program (the program exited) ... The problem is that when rereading, the readnow is ignored. Fix this by copying the readnow handling code from symbol_file_add_with_addrs to reread_symbols. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=26800