* breakpoint.c (check_duplicates): Use the breakpoint's type, not
authorJim Blandy <jimb@codesourcery.com>
Sun, 6 May 2001 01:35:57 +0000 (01:35 +0000)
committerJim Blandy <jimb@codesourcery.com>
Sun, 6 May 2001 01:35:57 +0000 (01:35 +0000)
commit644a1fe1ca256e8fa6a23276c25b0c7d3a687a0f
tree3b50b28a409822f02f20ff43e20b6bc835ff718e
parent9f60f21b6db87a986e7ba2ebd326624ce9409ff3
* breakpoint.c (check_duplicates): Use the breakpoint's type, not
its address, to decide whether it's a watchpoint or not.  Zero
is a valid code address.
(update_breakpoints_after_exec): Admonishing comments.
* breakpoint.h (struct breakpoint): Doc fixes.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h