]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/
authorGary Benson <gary@redhat.com>
Wed, 29 Jun 2011 15:20:34 +0000 (15:20 +0000)
committerGary Benson <gary@redhat.com>
Wed, 29 Jun 2011 15:20:34 +0000 (15:20 +0000)
* breakpoint.c (bpstat_what): Removed duplicated case.

gdb/ChangeLog
gdb/breakpoint.c

index 157b82dc4529c765090b8fe3a36889526933753b..895d00b5bb33a772a45eaff17f3af0b4cf486224 100644 (file)
@@ -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.
index 935cd0338bb5cc54c2521858b2dd030eea6bf894..5a4bece5bea962548f8f51c8350a20d1c8f620f5 100644 (file)
@@ -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;