diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 1e05932..5b0204e 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5815,8 +5815,7 @@ handle_jit_event (void) breakpoint_re_set. */ target_terminal_ours_for_output (); - frame = get_current_frame (); - gdbarch = get_frame_arch (frame); + gdbarch = get_regcache_arch (get_current_regcache ()); jit_event_handler (gdbarch); |