GCC just gained support for the C++ Extensions for Transactional Memory TS (N4514 [1]), but GDB doesn't know how to demangle the generated symbols. E.g.,: (gdb) demangle -l c++ _Z1fPDxFvvES0_ Can't demangle "_Z1fPDxFvvES0_" (gdb) Should be: (gdb) demangle -l c++ _Z1fPDxFvvES0_ f(void (*)() transaction_safe, void (*)() transaction_safe) (gdb) [1] - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4514.pdf
Fixed, master and 7.10 branch (for 7.10.1).
ile=0xbf4fd8 "gdb/nat/x86-linux-dregs.c", line=146, fmt=0xbf4faa "%s: Assertion `%s' failed.") at gdb/common/errors.c:55 #9 0x000000000076667c in x86_linux_update_debug_registers (lwp=0x3378ac0) at gdb/nat/x86-linux-dregs.c:146 #10 0x000000000076688d in x86_linux_prepare_to_resume (lwp=0x3378ac0) at gdb/nat/x86-linux.c:81 #11 0x000000000044c3f6 in x86_linux_nat_target::low_prepare_to_resume (this=0x11bd5b0 <the_amd64_linux_nat_target>, lwp=0x3378ac0) at gdb/x86-linux-nat.h:69 https://komiya-dental.com/ #12 0x00000000006f2661 in detach_one_lwp (lp=0x3378ac0, signo_p=0x0) at gdb/linux-nat.c:1406 #13 0x00000000006f2951 in detach_callback (lp=0x3378ac0) at gdb/linux-nat.c:1464 #14 0x00000000006fa7bc in gdb::function_view<int (lwp_info*)>::bind<int, lwp_info*>(int (*)(lwp_info*))::{lambda(gdb::fv_detail::erased_callable, lwp_info*)#1}::operator()(gdb::fv_detail::erased_callable, lwp_info*) const (__closure=0x0, ecall=..., args#0=0x3378ac0) at gdb/common/function-view.h:284 #15 0x00000000006fa7e3 in gdb::function_view<int (lwp_info*)>::bind<int, lwp_info*>(int (*)(lwp_info*))::{lambda(gdb::fv_detail::erased_callable, lwp_info*)#1}::_FUN(gdb::fv_detail::erased_callable, lwp_info*) () at gdb/common/function-view.h:278 #16 0x00000000006fa676 in gdb::function_view<int (lwp_info*)>::operator()(lwp_info*) const (this=0x7ffec3aca650, args#0=0x3378ac0) at gdb/common/function-view.h:247 #17 0x00000000006f1760 in iterate_over_lwps(ptid_t, gdb::function_view<int (lwp_info*)>) (filter=..., callback=...) at gdb/linux-nat.c:972 #18 0x00000000006f2a8e in linux_nat_target::detach (this=0x11bd5b0 <the_amd64_linux_nat_target>, inf=0x334c5e0, from_tty=0) at gdb/linux-nat.c:1484 #19 0x0000000000709a21 in thread_db_target::detach (this=0x11a1978 <the_thread_db_target>, inf=0x334c5e0, from_tty=0) at gdb/linux-thread-db.c:1364 #20 0x00000000008a9742 in target_detach (inf=0x334c5e0, from_tty=0) at gdb/target.c:2038 #21 0x00000000006b9c44 in handle_vfork_child_exec_or_exit (exec=0) at gdb/infrun.c:985 #22 0x00000000006c16b9 in handle_inferior_event (ecs=0x7ffec3acab80) at gdb/infrun.c:4830 #23 0x00000000006bf204 in fetch_inferior_event (client_data=0x0) at gdb/infrun.c:3748 http://www.iu-bloomington.com/ #24 0x00000000006a6e8c in inferior_event_handler (event_type=INF_REG_EVENT, client_data=0x0) at gdb/inf-loop.c:43 #25 0x00000000006f9218 in handle_target_event (error=0, client_data=0x0) at gdb/linux-nat.c:4355 #26 0x000000000061be10 in handle_file_event (file_ptr=0x5393160, ready_mask=1) at gdb/event-loop.c:732 https://www.webb-dev.co.uk/ #27 0x000000000061c3b3 in gdb_wait_for_event (block=0) at gdb/event-loop.c:858 #28 0x000000000061b24e in gdb_do_one_event () at gdb/event-loop.c:322 #29 0x000000000061b2ec in start_event_loop () at gdb/event-loop.c:371 #30 0x000000000071df7f in captured_command_loop () at gdb/main.c:331 #31 0x000000000071f3e2 in captured_main (data=0x7ffec3acaef0) at gdb/main.c:1173 #32 0x000000000071f473 in gdb_main (args=0x7ffec3acaef0) at gdb/main.c:1188 #33 0x000000000040fcde in main (argc=3, argv=0x7ffec3acaff8) at gdb/gdb.c:32 ile=0xbf4fd8 "gdb/nat/x86-linux-dregs.c", line=146, fmt=0xbf4faa "%s: Assertion `%s' failed.") at gdb/common/errors.c:55 #9 0x000000000076667c in x86_linux_update_debug_registers (lwp=0x3378ac0) at gdb/nat/x86-linux-dregs.c:146 https://waytowhatsnext.com/ #10 0x000000000076688d in x86_linux_prepare_to_resume (lwp=0x3378ac0) at gdb/nat/x86-linux.c:81 #11 0x000000000044c3f6 in x86_linux_nat_target::low_prepare_to_resume (this=0x11bd5b0 <the_amd64_linux_nat_target>, lwp=0x3378ac0) at gdb/x86-linux-nat.h:69 #12 0x00000000006f2661 in detach_one_lwp (lp=0x3378ac0, signo_p=0x0) at gdb/linux-nat.c:1406 http://www.acpirateradio.co.uk/ #13 0x00000000006f2951 in detach_callback (lp=0x3378ac0) at gdb/linux-nat.c:1464 #14 0x00000000006fa7bc in gdb::function_view<int (lwp_info*)>::bind<int, lwp_info*>(int (*)(lwp_info*))::{lambda(gdb::fv_detail::erased_callable, lwp_info*)#1}::operator()(gdb::fv_detail::erased_callable, lwp_info*) const (__closure=0x0, ecall=..., args#0=0x3378ac0) at gdb/common/function-view.h:284 #15 0x00000000006fa7e3 in gdb::function_view<int (lwp_info*)>::bind<int, lwp_info*>(int (*)(lwp_info*))::{lambda(gdb::fv_detail::erased_callable, lwp_info*)#1}::_FUN(gdb::fv_detail::erased_callable, lwp_info*) () at gdb/common/function-view.h:278 #16 0x00000000006fa676 in gdb::function_view<int (lwp_info*)>::operator()(lwp_info*) const (this=0x7ffec3aca650, args#0=0x3378ac0) at http://www.logoarts.co.uk/ gdb/common/function-view.h:247 #17 0x00000000006f1760 in iterate_over_lwps(ptid_t, gdb::function_view<int (lwp_info*)>) (filter=..., callback=...) at gdb/linux-nat.c:972 #18 0x00000000006f2a8e in linux_nat_target::detach (this=0x11bd5b0 http://www.slipstone.co.uk/ <the_amd64_linux_nat_target>, inf=0x334c5e0, from_tty=0) at gdb/linux-nat.c:1484 #19 0x0000000000709a21 in thread_db_target::detach (this=0x11a1978 <the_thread_db_target>, inf=0x334c5e0, from_tty=0) at gdb/linux-thread-db.c:1364 #20 0x00000000008a9742 in target_detach (inf=0x334c5e0, from_tty=0) at gdb/target.c:2038 http://embermanchester.uk/ #21 0x00000000006b9c44 in handle_vfork_child_exec_or_exit (exec=0) at gdb/infrun.c:985 #22 0x00000000006c16b9 in handle_inferior_event (ecs=0x7ffec3acab80) at http://connstr.net/ gdb/infrun.c:4830 #23 0x00000000006bf204 in fetch_inferior_event (client_data=0x0) at gdb/infrun.c:3748 http://joerg.li/ #24 0x00000000006a6e8c in inferior_event_handler (event_type=INF_REG_EVENT, client_data=0x0) at gdb/inf-loop.c:43 #25 0x00000000006f9218 in handle_target_event (error=0, client_data=0x0) at http://www.jopspeech.com/ gdb/linux-nat.c:4355 #26 0x000000000061be10 in handle_file_event (file_ptr=0x5393160, ready_mask=1) at gdb/event-loop.c:732 http://www.wearelondonmade.com/ #27 0x000000000061c3b3 in gdb_wait_for_event (block=0) at gdb/event-loop.c:858 #28 0x000000000061b24e in gdb_do_one_event () at gdb/event-loop.c:322 http://www.compilatori.com/ #29 0x000000000061b2ec in start_event_loop () at gdb/event-loop.c:371 #30 0x000000000071df7f in captured_command_loop () at gdb/main.c:331 #31 0x000000000071f3e2 in captured_main (data=0x7ffec3acaef0) at gdb/main.c:1173 #32 0x000000000071f473 http://www-look-4.com/ in gdb_main (args=0x7ffec3acaef0) at gdb/main.c:1188 #33 0x000000000040fcde in main (argc=3, argv=0x7ffec3acaff8) at gdb/gdb.c:32