This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [0/9] Breakpoints at multiple locations


On Monday 10 September 2007 08:46:09 Markus Deuling wrote:
> Hi Vladimir,
> 
> great patch set. I'll test it for our ppc64/spu target. I guess it will be very suitable :-)
> 
> Vladimir Prus schrieb:
> > 
> > Once the library is unloaded, we get:
> > 
> >         Num Type           Disp Enb  Address    What
> >         1   breakpoint     keep y    <MULTIPLE>
> >                 breakpoint already hit 2 times
> >         1.1                     y(p) 0xb7f9856d helper.hpp:4
> >         1.2                     n(p) 0xb7f98588 helper.hpp:4
> 
> Just an idea but for my opinion it would be great to have a hit-counter per location like:
> 
>          Num Type           Disp Hit Enb  Address    What
>          1   breakpoint     keep   8 y    <MULTIPLE>
>          1.1                       5 y(p) 0xb7f9856d helper.hpp:4
>          1.2                       3 n(p) 0xb7f98588 helper.hpp:4
> 
> The <MULTIPLE> entity could add up the counts of all locations.  This would also get rid of the 
> annoying "breakpoint already hit xy times" line :-)
> 
> What do you think?

That can possibly be interesting, but how will you handle 'ignore' 
count then? Should it be per-location, too?

I actually don't think those patches are final -- I expect some UI tweaks
to be made when this feature is more used. 

- Volodya


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]