]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
2011-04-27 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 27 Apr 2011 12:44:26 +0000 (12:44 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 27 Apr 2011 12:44:26 +0000 (12:44 +0000)
commit46c6471b0a591c6a53cf9bacdee6663cc63cd588
tree8dc8c7a0781f3d9b1c9b02d9b7c1b31bb2db409c
parent43294ab7fc33c09cb2c44763c0a79ea0db679408
2011-04-27  Pedro Alves  <pedro@codesourcery.com>

gdb/
* 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.
gdb/ChangeLog
gdb/breakpoint.c