aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-26 23:56:53 +0000
committerDoug Evans <dje@google.com>2010-01-26 23:56:53 +0000
commit99cc78aa47c5f5a26126bdc83cd7e5157fd8eb05 (patch)
treeeab52fff25bc4f78bb40addae7bf9178a1bc2d57
parent52334bf503004f805976c92b2771d8b8b1ca1132 (diff)
downloadgdb-99cc78aa47c5f5a26126bdc83cd7e5157fd8eb05.zip
gdb-99cc78aa47c5f5a26126bdc83cd7e5157fd8eb05.tar.gz
gdb-99cc78aa47c5f5a26126bdc83cd7e5157fd8eb05.tar.bz2
* breakpoint.c (bpstat_stop_status): Delete useless code.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8851c2b..41236ea 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-27 Doug Evans <dje@google.com>
+
+ * breakpoint.c (bpstat_stop_status): Delete useless code.
+
2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* printcmd.c (display_uses_solib_p): Remove variable section. Access
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index d404ee7..0d55862 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3668,7 +3668,6 @@ bpstat_stop_status (struct address_space *aspace,
}
bs->next = NULL; /* Terminate the chain */
- bs = root_bs->next; /* Re-grab the head of the chain */
/* If we aren't stopping, the value of some hardware watchpoint may
not have changed, but the intermediate memory locations we are