From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B82023858C55; Fri, 17 Jun 2022 20:58:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B82023858C55 From: "trass3r at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug record/29260] Stopped event should contain reason for 'No more reverse-execution history' Date: Fri, 17 Jun 2022 20:58:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: record X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trass3r at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2022 20:58:57 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29260 --- Comment #1 from trass3r --- Code of interest: handle_inferior_event(infrun.c:5858): case TARGET_WAITKIND_NO_HISTORY: /* Reverse execution: target ran out of history info. */ /* Switch to the stopped thread. */ context_switch (ecs); infrun_debug_printf ("stopped"); delete_just_stopped_threads_single_step_breakpoints (); ecs->event_thread->set_stop_pc (regcache_read_pc (get_thread_regcache (inferior_thread ()))); if (handle_stop_requested (ecs)) return; gdb::observers::no_history.notify (); // just prints the line in print_no_history_reason stop_waiting (ecs); --=20 You are receiving this mail because: You are on the CC list for the bug.=