Skip to content

Commit

Permalink
Fix printing stack trace under Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
c99 committed May 6, 2021
1 parent 9f4b0dd commit 5d1d610
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4429,9 +4429,8 @@ class SignalHandling {

StackTrace st;
st.set_machine_type(printer.resolver().machine_type());
st.set_context(ctx());
st.set_thread_handle(thread_handle());
st.load_here(32 + skip_frames);
st.load_here(32 + skip_frames, ctx());
st.skip_n_firsts(skip_frames);

printer.address = true;
Expand Down

0 comments on commit 5d1d610

Please sign in to comment.