When I used gdb to debug in Eclipse, I encountered the error " Stopped due to shared library event " and the debugging stopped. The way to solve it is to go to "Debug Configurations-Debugger-Shared Libraries" and uncheck "Load shared libraries symbols automatically".
■ .text — the actual executable code ■ .rodata — any read only data used in the execution of the code ■ .rwdata — where read/write variables and pointers are stored ■ .heap — where dynamically allocated memory is located /堆 向大地址方向生长 ■ .stack — where f ...