summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorGary Benson <gary@redhat.com>2011-06-29 15:20:34 +0000
committerGary Benson <gary@redhat.com>2011-06-29 15:20:34 +0000
commit168e6d44026869c1cd8dd66d7ef7cdeecdcff77d (patch)
tree150f58036d90c1e91a7859dea18ccf883b388416 /gdb
parent42159ca500a502415a61e60c400f6b12305dd7cc (diff)
downloadbinutils-gdb-168e6d44026869c1cd8dd66d7ef7cdeecdcff77d.tar.gz
gdb/
* breakpoint.c (bpstat_what): Removed duplicated case.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 157b82dc452..895d00b5bb3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-29 Gary Benson <gbenson@redhat.com>
+
+ * breakpoint.c (bpstat_what): Removed duplicated case.
+
2011-06-28 Tom Tromey <tromey@redhat.com>
* python/python-internal.h (PY_SSIZE_T_CLEAN): Define.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 935cd0338bb..5a4bece5bea 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4435,8 +4435,6 @@ bpstat_what (bpstat bs_head)
breakpoint which has since been deleted. */
bptype = bp_none;
}
- else if (bs->breakpoint_at == NULL)
- bptype = bp_none;
else
bptype = bs->breakpoint_at->type;