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] Remove GDB_TARGET_HAS_SHARED_LIBS from Alpha target


This removes GDB_TARGET_HAS_SHARED_LIBS from the Alpha target (which is
the only thing that uses it).  All Alpha configurations have shared
libraries, so there is little point in testing a condition which is always
true.

Committed as obvious.

        * alpha-tdep.c (alpha_skip_prologue_internal): Remove
        GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to
        indicate that the condition it was testing is always true.
        * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove.
        * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
        * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): 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]