aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
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/breakpoint.c
parent42159ca500a502415a61e60c400f6b12305dd7cc (diff)
downloadgdb-168e6d44026869c1cd8dd66d7ef7cdeecdcff77d.zip
gdb-168e6d44026869c1cd8dd66d7ef7cdeecdcff77d.tar.gz
gdb-168e6d44026869c1cd8dd66d7ef7cdeecdcff77d.tar.bz2
gdb/
* breakpoint.c (bpstat_what): Removed duplicated case.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 935cd03..5a4bece 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;