diff options
| author | Tom de Vries <tdevries@suse.de> | 2021-12-07 07:51:25 +0100 |
|---|---|---|
| committer | Tom de Vries <tdevries@suse.de> | 2021-12-07 07:51:25 +0100 |
| commit | 9dec38d3b11c779e8f386050ed5046aaa4e759db (patch) | |
| tree | 3be78ae3d32d3c789abb449740182b55293d0295 /gdb/i386-darwin-nat.c | |
| parent | af5300fe24bf2f4e032d639a5396a16c1762b77b (diff) | |
| download | gdb-9dec38d3b11c779e8f386050ed5046aaa4e759db.zip gdb-9dec38d3b11c779e8f386050ed5046aaa4e759db.tar.gz gdb-9dec38d3b11c779e8f386050ed5046aaa4e759db.tar.bz2 | |
[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
Diffstat (limited to 'gdb/i386-darwin-nat.c')
0 files changed, 0 insertions, 0 deletions
