[PATCH, gdb6.8] -break-list doesn't list multiple breakpoints

Nick Roberts nickrob@snap.net.nz
Thu Apr 3 09:21:00 GMT 2008


 > > 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
fields.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list