maybe_hw_step: Assertion `has_single_step_breakpoints (thread)' failed. Aborted (core dumped) EC@mpr3.1> ls -l total 7464 -rw------- 1 root root 630784 Jun 28 12:14 core-gdbserver-11475-1656418477 -rwxr-xr-x 1 root root 7265572 Jun 28 12:12 gdbserver EC@mpr3.1> gdb ./gdbserver ./core-gdbserver-11475-1656418477 GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-wrs-linux-gnueabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./gdbserver... [New LWP 11475] warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Core was generated by `./gdbserver --once --attach :1234 325'. Program terminated with signal SIGABRT, Aborted. #0 0x76ca6216 in ?? () from /lib/libc.so.6 (gdb) bt #0 0x76ca6216 in ?? () from /lib/libc.so.6 #1 0x76cb49d4 in raise () from /lib/libc.so.6 #2 0x76ca5ca0 in abort () from /lib/libc.so.6 #3 0x004a8280 in abort_or_exit () at ../../gdb-13.0.50.20221021/gdbserver/utils.cc:39 #4 internal_verror (file=, line=line@entry=2448, fmt=0x0, fmt@entry=0x7ee8c2bc "\210\316N", args=..., args@entry=...) at ../../gdb-13.0.50.20221021/gdbserver/utils.cc:108 #5 0x004d83ce in internal_error_loc (file=, line=line@entry=2448, fmt=0x4e4bc8 "%s: Assertion `%s' failed.") at ../../gdb-13.0.50.20221021/gdbsupport/errors.cc:58 #6 0x004c5c28 in linux_process_target::maybe_hw_step (this=, thread=) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2448 #7 linux_process_target::maybe_hw_step (this=, thread=) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2440 #8 0x004c660a in linux_process_target::resume_stopped_resumed_lwps (this=this@entry=0x50a3cc , thread=0x209fb28) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2466 #9 0x004c7614 in ::operator() (__closure=, thread=) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2606 #10 for_each_thread > (func=...) at ../../gdb-13.0.50.20221021/gdbserver/gdbthread.h:159 #11 linux_process_target::wait_for_event_filtered (this=this@entry=0x50a3cc , wait_ptid=..., filter_ptid=..., wstatp=0x7ee8c544, options=1073741824) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2604 #12 0x004c9426 in linux_process_target::wait_for_event (options=1079026852, wstatp=0x7ee8c544, ptid=..., this=0x50a3cc ) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2676 #13 linux_process_target::wait_1 (this=this@entry=0x50a3cc , ptid=..., ourstatus=ourstatus@entry=0x50c9f8 , target_options=..., target_options@entry=...) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:2970 #14 0x004cab6c in linux_process_target::wait (this=0x50a3cc , ptid=..., ourstatus=0x50c9f8 , target_options=...) at ../../gdb-13.0.50.20221021/gdbserver/linux-low.cc:3624 #15 0x004b9778 in target_wait (options=..., status=0x50c9f8 , ptid=...) at ../../gdb-13.0.50.20221021/gdbserver/target.cc:197 #16 mywait (ptid=..., ourstatus=ourstatus@entry=0x50c9f8 , options=..., connected_wait=connected_wait@entry=1) at ../../gdb-13.0.50.20221021/gdbserver/target.cc:142 #17 0x004b3428 in resume (actions=, num_actions=) --Type for more, q to quit, c to continue without paging--c at ../../gdb-13.0.50.20221021/gdbserver/server.cc:2916 #18 resume (actions=0x20a6778, num_actions=) at ../../gdb-13.0.50.20221021/gdbserver/server.cc:2888 #19 0x004b3ed0 in handle_v_cont (own_buf=0x20a6778 "E\001") at ../../gdb-13.0.50.20221021/gdbserver/server.cc:2875 #20 handle_v_requests (own_buf=own_buf@entry=0x208b0a8 "vCont;r45b444,45b44c:p145.18a;c:p145.-1", packet_len=packet_len@entry=39, new_packet_len=new_packet_len@entry=0x7ee8c8ac) at ../../gdb-13.0.50.20221021/gdbserver/server.cc:3135 #21 0x004b6b76 in process_serial_event () at ../../gdb-13.0.50.20221021/gdbserver/server.cc:4481 #22 handle_serial_event (err=, client_data=) at ../../gdb-13.0.50.20221021/gdbserver/server.cc:4513 #23 0x004d8904 in gdb_wait_for_event (block=block@entry=1) at ../../gdb-13.0.50.20221021/gdbsupport/event-loop.cc:694 #24 0x004d9034 in gdb_wait_for_event (block=1) at ../../gdb-13.0.50.20221021/gdbsupport/event-loop.cc:593 #25 gdb_do_one_event (mstimeout=mstimeout@entry=-1) at ../../gdb-13.0.50.20221021/gdbsupport/event-loop.cc:264 #26 0x004a8a6c in start_event_loop () at ../../gdb-13.0.50.20221021/gdbserver/server.cc:3511 #27 captured_main (argv=, argc=5) at ../../gdb-13.0.50.20221021/gdbserver/server.cc:3991 #28 main (argc=5, argv=) at ../../gdb-13.0.50.20221021/gdbserver/server.cc:4077 (gdb) (gdb) (gdb) info thread Id Target Id Frame * 1 LWP 11475 0x76ca6216 in ?? () from /lib/libc.so.6 (gdb)