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


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?

--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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