aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/breakpoint.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3fc07ba..1ba81f4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2009-02-25 Doug Evans <dje@google.com>
+ * breakpoint.c (disable_breakpoints_in_shlibs): Delete local
+ disabled_shlib_breaks, unused.
+
* printcmd.c (build_address_symbolic): Fix comment.
2009-02-25 Hui Zhu <teawater@gmail.com>
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b63f0c4..46beea6 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4424,7 +4424,6 @@ void
disable_breakpoints_in_shlibs (void)
{
struct bp_location *loc;
- int disabled_shlib_breaks = 0;
ALL_BP_LOCATIONS (loc)
{