Re: Why does a breakpoint struct contain a location linked list ?
Tom Tromey <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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? Inlining can cause multiple locations. So can overloading, wild matching, or something like a template instantiation when a "file:line" breakpoint is used. Tom