aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-12-07 15:59:51 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-12-07 15:59:51 +0000
commit4cd9bd0835f3b0f4fa4fa8271d6a2517f4426881 (patch)
tree7e0e8ea09274119bcb0234ce43e582b4a0c8b04a
parentbf003c2ee51c5d69a382a68661996b7926f9a93a (diff)
downloadgdb-4cd9bd0835f3b0f4fa4fa8271d6a2517f4426881.zip
gdb-4cd9bd0835f3b0f4fa4fa8271d6a2517f4426881.tar.gz
gdb-4cd9bd0835f3b0f4fa4fa8271d6a2517f4426881.tar.bz2
* breakpoint.c (update_global_location_list): Fix the comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 51affa8..518ab63 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (update_global_location_list): Fix the comment.
+
2008-12-05 Pedro Alves <pedro@codesourcery.com>
* infcmd.c (step_1, step_once): Look up the stepping range based
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 617a538..071909e 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -6811,7 +6811,7 @@ breakpoint_auto_delete (bpstat bs)
}
}
-/* If SHOULD_INSERT is true, do not insert any breakpoint locations
+/* If SHOULD_INSERT is false, do not insert any breakpoint locations
into the inferior, only remove already-inserted locations that no
longer should be inserted. Functions that delete a breakpoint or
breakpoints should pass false, so that deleting a breakpoint