This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] More Alpha multi-arch cleanup


Puts FUNCTION_START_OFFSET under control of gdbarch, and removes
the deprecated BREAKPOINT in favor of BREAKPOINT_FROM_PC.

Committed per the multi-arch rule.

        * alpha-tdep.c (alpha_breakpoint_from_pc): New function.
        (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to
        alpha_breakpoint_from_pc.  Set gdbarch_function_start_offset
        to 0.
        * config/alpha/tm-alpha.h: Remove forward decls of struct type
        and struct value.
        (FUNCTION_START_OFFSET): Remove.
        (BREAKPOINT): Ditto.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: alpha-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]