Re: Patch: Little improvement to delete breakpoint command

Markus Deuling
2006-11-29T13:52:06Z

Hi,

I renewed the patch and ran the testsuite with an without it:

without (gdb 6-5 vanilla)
# of expected passes 11033
# of unexpected failures 58

with the patch
# of expected passes 11037
# of unexpected failures 54

===============================================================

diff -urN gdb-6.5/gdb/breakpoint.c gdb-6.5_dev/gdb/breakpoint.c
--- gdb-6.5/gdb/breakpoint.c 2006-05-01 18:38:08.000000000 +0200
+++ gdb-6.5_dev/gdb/breakpoint.c 2006-11-29 13:44:43.000000000 +0100
@@ -6959,7 +6959,10 @@
b->type != bp_thread_event &&
b->type != bp_overlay_event &&
b->number >= 0)
+ {
breaks_to_delete = 1;
+ break;
+ }
}

/* Ask user only if there are some breakpoints to delete. */

Is that ok ?

Regards,
Markus

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