commit | 9279eb5c2c4421329822186ed86b48faa9d310e6 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue Sep 28 13:13:06 2021 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Thu Sep 30 11:17:09 2021 -0600 |
tree | af22e8c8d6e95e7659eaa20e8c933090999d9578 | |
parent | 7264ba83317a0cdb8ffd9e07dda7892bf0f6fcf2 [diff] |
Fix Windows crash from stop_pc change The "make thread_suspend_state::stop_pc optional" patch caused a regression on Windows when using shared libraries. I tracked this down to an unguarded use of stop_pc() in the TARGET_WAITKIND_LOADED case of handle_inferior_event. This patch fixes the bug by ensuring that the stop PC is set at this point.