From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 09B2C3858C5F; Fri, 10 Feb 2023 14:47:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09B2C3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676040459; bh=UR1nwTS0yHDS3qi849Zd9ZYbJlxaQPXK1KXg4M88ipc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PXq3Eo2vdAyvp5zkq+Ld7rTS3JHC/04KkueipkYH9NmjrbrLY8WcORa1zecfQIYHp MaNt/tXBL6MczGE6K38KqnKaaCEOAi+XVNa/Kor0P2KYY6j3+MorOqtTWnjVUrkJII /n5X+d55YSoBshPee2W6OtU55sfmq5i+wDuGsEEY= From: "libin.dang at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29742] [ARMv7] [gdbserver] maybe_hw_step: Assertion `has_single_step_breakpoints (thread)' failed. Date: Fri, 10 Feb 2023 14:47:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: libin.dang 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29742 --- Comment #9 from Libin Dang --- Backtrace of gdbserver: (gdb) bt #0 0x76c7e216 in ?? () from /lib/libc.so.6 #1 0x76c8c9d4 in raise () from /lib/libc.so.6 #2 0x76c7dca0 in abort () from /lib/libc.so.6 #3 0x0041f1e0 in abort_or_exit () at ../../gdb-14.0.50.20230201/gdbserver/utils.cc:39 #4 internal_verror (file=3D, line=3Dline@entry=3D2448, fmt= =3D0x0, fmt@entry=3D0x7ec8e2bc "\260KF", args=3D..., args@entry=3D...) at ../../gdb-14.0.50.20230201/gdbserver/utils.cc:108 #5 0x0044fd32 in internal_error_loc (file=3D, line=3Dline@entry=3D2448, fmt=3D0x45c8b0 "%s. Switching to stderr.\n") at ../../gdb-14.0.50.20230201/gdbsupport/errors.cc:58 #6 0x0043cfbc in linux_process_target::maybe_hw_step (this=3D, thread=3D) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2448 #7 linux_process_target::maybe_hw_step (this=3D, thread=3D) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2440 #8 0x0043d99e in linux_process_target::resume_stopped_resumed_lwps (this=3Dthis@entry=3D0x4821ec , thread=3D0x9c17d0) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2466 #9 0x0043e9ac in ::operator() (__closure=3D, thread=3D) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2606 #10 for_each_thread > (func=3D...) at ../../gdb-14.0.50.20230201/gdbserver/gdbthread.h:159 #11 linux_process_target::wait_for_event_filtered (this=3Dthis@entry=3D0x48= 21ec , wait_ptid=3D..., filter_ptid=3D..., wstatp=3D0x7ec8e544, options=3D1073741824) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2604 #12 0x00440e2a in linux_process_target::wait_for_event (options=3D107846931= 6, wstatp=3D0x7ec8e544, ptid=3D..., this=3D0x4821ec ) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2676 #13 linux_process_target::wait_1 (this=3Dthis@entry=3D0x4821ec , ptid=3D..., ourstatus=3Dourstatus@entry=3D0x484818 , target_options=3D...,=20 target_options@entry=3D...) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:2970 #14 0x0044256c in linux_process_target::wait (this=3D0x4821ec , ptid=3D..., ourstatus=3D0x484818 , target_options=3D..= .) at ../../gdb-14.0.50.20230201/gdbserver/linux-low.cc:3624 #15 0x00430a1c in target_wait (options=3D..., status=3D0x484818 , ptid=3D...) at ../../gdb-14.0.50.20230201/gdbserver/target.cc:199 #16 mywait (ptid=3D..., ourstatus=3Dourstatus@entry=3D0x484818 , options=3D..., connected_wait=3Dconnected_wait@entry=3D1) at ../../gdb-14.0.50.20230201/gdbserver/target.cc:144 #17 0x0042a6c0 in resume (actions=3D, num_actions=3D) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:2917 #18 resume (actions=3D0x9d4b18, num_actions=3D) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:2889 #19 0x0042b168 in handle_v_cont (own_buf=3D0x9d4b18 "<\001") at ../../gdb-14.0.50.20230201/gdbserver/server.cc:2876 #20 handle_v_requests (own_buf=3Down_buf@entry=3D0x9b50a8 "vCont;r45b52a,45b52c:p13c.17d;c:p13c.-1", packet_len=3Dpacket_len@entry=3D= 39, new_packet_len=3Dnew_packet_len@entry=3D0x7ec8e8ac) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:3136 #21 0x0042de1e in process_serial_event () at ../../gdb-14.0.50.20230201/gdbserver/server.cc:4482 #22 handle_serial_event (err=3D, client_data=3D) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:4514 #23 0x0045026c in gdb_wait_for_event (block=3Dblock@entry=3D1) at ../../gdb-14.0.50.20230201/gdbsupport/event-loop.cc:694 #24 0x0045099c in gdb_wait_for_event (block=3D1) at ../../gdb-14.0.50.20230201/gdbsupport/event-loop.cc:593 #25 gdb_do_one_event (mstimeout=3Dmstimeout@entry=3D-1) at ../../gdb-14.0.50.20230201/gdbsupport/event-loop.cc:264 #26 0x0041f9cc in start_event_loop () at ../../gdb-14.0.50.20230201/gdbserver/server.cc:3512 #27 captured_main (argv=3D, argc=3D4) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:3992 #28 main (argc=3D4, argv=3D) at ../../gdb-14.0.50.20230201/gdbserver/server.cc:4078 --=20 You are receiving this mail because: You are on the CC list for the bug.=