OSDN Git Service

Fix ia64 breakpoints in the L-X slot.
authorbrobecke <brobecke>
Mon, 28 Sep 2009 23:54:01 +0000 (23:54 +0000)
committerbrobecke <brobecke>
Mon, 28 Sep 2009 23:54:01 +0000 (23:54 +0000)
commitdea6ab8b0b669ffa1c5d1d17f99ff5541944f518
treec6e43f9910890fe437f96dcda4118691a23d6d3a
parent83c98901b06f7065572a7f57f71d942e0da42be6
    Fix ia64 breakpoints in the L-X slot.
        * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
        New variable shadow_slotnum, use it appropriately instead of slotnum.
        Move shadow_len initialization before SLOTNUM adjustment, cover now the
        whole remaining bundle.  Error now on breakpoints requested for the
        slot 2 of L-X bundles.  Better sanity check the requested slot 1 of L-X
        bundles.
        (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Warn now on breakpoints requested
        for the slot 2 of L-X bundles.  Better sanity check the requested slot
        1 of L-X bundles.  Update the assertio check of PLACED_SIZE.
        (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Move *lenptr initialization before
        SLOTNUM adjustment, cover now the whole remaining bundle.  Error now
        on breakpoints requested for the slot 2 of L-X bundles.  Better sanity
        check the requested slot 1 of L-X bundles.  Simplify the returned
        expression.
gdb/ChangeLog
gdb/ia64-tdep.c