Don't reset watchpoint block on solib load.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 29 Jan 2008 16:47:47 +0000 (16:47 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 29 Jan 2008 16:47:47 +0000 (16:47 +0000)
commit0b3de036ef7812900af73c59dae4a703fce5f2da
tree0a6e3d65b75bf77699038c87eea23aaeddbf9ad3
parent68e08bceb0e46aa827b7e23b89a2affb014d8944
    Don't reset watchpoint block on solib load.

        * breakpoint.c (insert_bp_location): For watchpoints,
        recompute condition.
        (breakpoint_re_set_one): Instead of recomputing value
        and condition for watchpoints, just reset value and
        let insert_breakpoints/insert_bp_location recompute it.
        Don't do anything about disabled watchpoint.
gdb/ChangeLog
gdb/breakpoint.c