aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-02-25 21:43:04 +0000
committerDoug Evans <dje@google.com>2009-02-25 21:43:04 +0000
commit1c2af6c43c6a21c08bdcc6a6f4ed655ab3dad2f6 (patch)
treea1180b4f5d4766b9c9108116f51c61e18a58e947
parent401a9a73922f3b3ad7099859b7d3bc3c80397f3a (diff)
downloadgdb-1c2af6c43c6a21c08bdcc6a6f4ed655ab3dad2f6.zip
gdb-1c2af6c43c6a21c08bdcc6a6f4ed655ab3dad2f6.tar.gz
gdb-1c2af6c43c6a21c08bdcc6a6f4ed655ab3dad2f6.tar.bz2
* breakpoint.c (disable_breakpoints_in_shlibs): Delete local
disabled_shlib_breaks, unused.
-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)
{