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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.