aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-11-23 16:54:34 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-11-23 16:54:34 +0000
commita0cf7492a318fb58a0a35aca6c7347054ede658c (patch)
treee15b3b389a7bf5c6f09395beef9fbf5fee6cf6f8
parentdc29a156835e65f9da8769d11ea8a95318b11f15 (diff)
downloadgdb-a0cf7492a318fb58a0a35aca6c7347054ede658c.zip
gdb-a0cf7492a318fb58a0a35aca6c7347054ede658c.tar.gz
gdb-a0cf7492a318fb58a0a35aca6c7347054ede658c.tar.bz2
* breakpoint.c (insert_breakpoints)
(insert_bp_location): Remove stale comments.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/breakpoint.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d45d46f..aba7481 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-23 Vladimir Prus <vladimir@codesourcery.com>
+
+ * breakpoint.c (insert_breakpoints)
+ (insert_bp_location): Remove stale comments.
+
2007-11-23 Maciej W. Rozycki <macro@mips.com>
* mips-linux-tdep.h: Fix some formatting.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 81614aa..2203f6e 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;