This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove same-pc breakpoint notification for internal BPs
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> I never understood why we need that function (as is implemented) though.
IIRC I added it to pull common code out of a few spots, and at the same
time regularize it. I think different spots were using slightly
different checks.
I don't object to the current patch.
Pedro> What could be !user_settable_breakpoint whose b->number is > 0?
Pedro> IOW, why isn't that just :
[...]
I don't know; I think the change to introduce the function just
commonized pre-existing code.
Tom