Why does a breakpoint struct contain a location linked list ?

hilbert swdtian@163.com
Mon Jun 5 10:05:58 GMT 2023


Hi, 


After setting a breakpoint, GDB can read the location information from the symbol table constructed by dwarf and fill in the breakpoint;
Why  need a linked list to record multiple location information;
Where do so many locations come from?




Thank you very much.



More information about the Gdb mailing list