X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Falpha-mdebug-tdep.c;h=2fa27c401351a4575325898c49d11d5115fd61a0;hb=50838d1be72ddd30e0b5f081933482424ae5a6b0;hp=e850aa746263404e7733c036c8c4aa9f4e42ce96;hpb=618f726fcb851883a0094aa7fa17003889b7189f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c index e850aa7462..2fa27c4013 100644 --- a/gdb/alpha-mdebug-tdep.c +++ b/gdb/alpha-mdebug-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent mdebug code for the ALPHA architecture. - Copyright (C) 1993-2016 Free Software Foundation, Inc. + Copyright (C) 1993-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -27,6 +27,7 @@ #include "alpha-tdep.h" #include "mdebugread.h" +#include "gdbarch.h" /* FIXME: Some of this code should perhaps be merged with mips. */ @@ -402,8 +403,6 @@ alpha_mdebug_frame_base_sniffer (struct frame_info *this_frame) void alpha_mdebug_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); - frame_unwind_append_unwinder (gdbarch, &alpha_mdebug_frame_unwind); frame_base_append_sniffer (gdbarch, alpha_mdebug_frame_base_sniffer); }