2011-04-27 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7f77310479d71c38ffe2b8c1b0fafe5c65691edd..3511bc0c1e1364db6b77da12911ca31ca3634c08 100644 (file)
@@ -1,3 +1,17 @@
+2011-04-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (user_settable_breakpoint): Delete.
+       (user_breakpoint_p): Remove check on user_settable_breakpoint.
+       (delete_command): Check user_breakpoint_p instead of looking at
+       the breakpoint's type.
+       (disable_command): Ditto.
+       (enable_command): Ditto.
+       (delete_trace_command): Use user_breakpoint_p instead of looking
+       at the breakpoint number directly.  When checking if there are
+       user visible tracepoints, in order to know whether to ask the user
+       for confirmation, check whether the breakpoint is actually a
+       tracepoint.
+
 2011-04-27  Vladimir Prus  <vladimir@codesourcery.com>
 
        * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
This page took 0.023678 seconds and 4 git commands to generate.