X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Falpha-tdep.c;h=d9b8517b2d84870626a40f2643d06a5cb132c478;hb=003ea5a89ab7e9eaa65cb158a953d63dac2612c6;hp=159a7e92b6c98d28ec8d6e01fe2b092397d89e72;hpb=a0eaec95753c0f093f5cb80080ef423030d35edd;p=platform%2Fupstream%2Fgdb.git diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 159a7e9..d9b8517 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the ALPHA architecture, for GDB, the GNU Debugger. - Copyright (C) 1993-2014 Free Software Foundation, Inc. + Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -31,7 +31,6 @@ #include "dis-asm.h" #include "symfile.h" #include "objfiles.h" -#include #include "linespec.h" #include "regcache.h" #include "reggroups.h" @@ -1750,14 +1749,6 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) struct gdbarch_tdep *tdep; struct gdbarch *gdbarch; - /* Try to determine the ABI of the object we are loading. */ - if (info.abfd != NULL && info.osabi == GDB_OSABI_UNKNOWN) - { - /* If it's an ECOFF file, assume it's OSF/1. */ - if (bfd_get_flavour (info.abfd) == bfd_target_ecoff_flavour) - info.osabi = GDB_OSABI_OSF1; - } - /* Find a candidate among extant architectures. */ arches = gdbarch_list_lookup_by_info (arches, &info); if (arches != NULL)