From: Vladimir Prus Date: Fri, 23 Nov 2007 16:54:34 +0000 (+0000) Subject: * breakpoint.c (insert_breakpoints) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0cf7492a318fb58a0a35aca6c7347054ede658c;p=binutils-gdb.git * breakpoint.c (insert_breakpoints) (insert_bp_location): Remove stale comments. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d45d46fc07a..aba74816e75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-11-23 Vladimir Prus + + * breakpoint.c (insert_breakpoints) + (insert_bp_location): Remove stale comments. + 2007-11-23 Maciej W. Rozycki * mips-linux-tdep.h: Fix some formatting. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 81614aa9efc..2203f6ee3d6 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -842,8 +842,6 @@ insert_bp_location (struct bp_location *bpt, { int val = 0; - /* Permanent breakpoints cannot be inserted or removed. Disabled - breakpoints should not be inserted. */ if (!breakpoint_enabled (bpt->owner)) return 0; @@ -1241,8 +1239,6 @@ insert_breakpoints (void) ALL_BP_LOCATIONS_SAFE (b, temp) { - /* Permanent breakpoints cannot be inserted or removed. Disabled - breakpoints should not be inserted. */ if (!breakpoint_enabled (b->owner)) continue;