X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Farch%2Fppc-linux-common.c;h=183fc03395b693127d65a825de4c52e504be33a4;hb=1ee1a363454d88a87ad2ade7530b2a7fb670021e;hp=cc4d164320b76910f2db39dea52af3cf58bbe601;hpb=8d619c01db64c533df3ffc706b694f293347f0d8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/arch/ppc-linux-common.c b/gdb/arch/ppc-linux-common.c index cc4d164320..183fc03395 100644 --- a/gdb/arch/ppc-linux-common.c +++ b/gdb/arch/ppc-linux-common.c @@ -1,6 +1,6 @@ /* Common target dependent code for GNU/Linux on PPC systems. - Copyright (C) 2018 Free Software Foundation, Inc. + Copyright (C) 2018-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "common-defs.h" +#include "gdbsupport/common-defs.h" #include "arch/ppc-linux-common.h" #include "arch/ppc-linux-tdesc.h" @@ -50,9 +50,7 @@ ppc_linux_match_description (struct ppc_linux_features features) if (features.wordsize == 8) { - if (features.cell) - tdesc = tdesc_powerpc_cell64l; - else if (features.vsx) + if (features.vsx) tdesc = (features.htm? tdesc_powerpc_isa207_htm_vsx64l : features.isa207? tdesc_powerpc_isa207_vsx64l : features.ppr_dscr? tdesc_powerpc_isa205_ppr_dscr_vsx64l @@ -69,9 +67,7 @@ ppc_linux_match_description (struct ppc_linux_features features) { gdb_assert (features.wordsize == 4); - if (features.cell) - tdesc = tdesc_powerpc_cell32l; - else if (features.vsx) + if (features.vsx) tdesc = (features.htm? tdesc_powerpc_isa207_htm_vsx32l : features.isa207? tdesc_powerpc_isa207_vsx32l : features.ppr_dscr? tdesc_powerpc_isa205_ppr_dscr_vsx32l