I just created my first Go World Hello World program , built it, and created a binary. After checking the binary, I found a link to this python script inside the binary.
The description of this script reads
This script is loaded by GDB when it finds the .debug_gdb_scripts section in compiled binary format. [68] l Linkers emit this using the path to this file based on the path to the execution package.
I do not understand the meaning of this clearly. So what is runtime-gdb.py and how is this related to the Go language?
source
share