The crash is in inside_main_function, due to the modifications here:
commit 9370fd51ebfca8a8acacaecb92c57ee54f4f8382 gdb: detect main function even when there's no matching msymbol
First, gdb doesn't find the minsym, probably because the msyms contain:
[99] t 0x90c0 _ZN17rustc_gdb_10317454main17h5b5be7fe16a97225E section .text rustc_gdb_1031745::main::h5b5be7fe16a97225 zko06yobckx336v
... but we're looking for:
(top-gdb) p name $13 = 0x292e0c0 "rustc_gdb_1031745::main"
The _Z overloading strikes again.
Anyway somehow we find a full symbol for this, but it doesn't have a block, so the assert fails.
The crash is in inside_ main_function, due to the modifications here:
commit 9370fd51ebfca8a 8acacaecb92c57e e54f4f8382
gdb: detect main function even when there's no matching msymbol
First, gdb doesn't find the minsym, probably because the msyms
contain:
[99] t 0x90c0 _ZN17rustc_ gdb_10317454mai n17h5b5be7fe16a 97225E section .text rustc_gdb_ 1031745: :main:: h5b5be7fe16a972 25 zko06yobckx336v
... but we're looking for:
(top-gdb) p name gdb_1031745: :main"
$13 = 0x292e0c0 "rustc_
The _Z overloading strikes again.
Anyway somehow we find a full symbol for this, but it doesn't
have a block, so the assert fails.