This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH, gdb6.8] -break-list doesn't list multiple breakpoints
> > I don't think the second 'addr' field should be there, but I'm not sure
> > that I really like this 'locations' field. 4.1, 4.2 etc are breakpoints
> > and so I think they should be identified as such (using the bkptno field).
> They are not really independent breakpoints. For example, condition is part
> of the main breakpoint, and removing main breakpoint removes all locations,
> so it's better to represent things this way.
Using the bkptno field means that existing frontends will recognise these
locations as breakpoints. Only new frontends will be able to parse new