From 8150433645c423f92b1d9b62d14010cf1ec9cad02d79c196ca2ee2f18168fe3a Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 18 Jan 2019 13:31:48 +0000 Subject: [PATCH] Remove fuzz. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=199 --- gdb.spec | 2 +- power8-registers.diff | 232 +++++++++++++++++++++--------------------- 2 files changed, 117 insertions(+), 117 deletions(-) diff --git a/gdb.spec b/gdb.spec index ee12b59..e226445 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,7 +1,7 @@ # # spec file for package gdb # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 RedHat # # All modifications and additions to the file contributed by third parties diff --git a/power8-registers.diff b/power8-registers.diff index 6d5ee35..b5a8a45 100644 --- a/power8-registers.diff +++ b/power8-registers.diff @@ -25,8 +25,8 @@ f2cf6173f33bbb562881c571bfecd129fe94b158 [PowerPC] Add support for TAR Index: gdb-8.2/gdb/remote.c =================================================================== ---- gdb-8.2.orig/gdb/remote.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/remote.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/remote.c 2019-01-18 14:26:13.000000000 +0100 ++++ gdb-8.2/gdb/remote.c 2019-01-18 14:26:14.000000000 +0100 @@ -12808,7 +12808,7 @@ remote_target::download_tracepoint (stru struct tracepoint *t = (struct tracepoint *) b; struct remote_state *rs = get_remote_state (); @@ -38,8 +38,8 @@ Index: gdb-8.2/gdb/remote.c /* We use a buffer other than rs->buf because we'll build strings Index: gdb-8.2/bfd/elf-bfd.h =================================================================== ---- gdb-8.2.orig/bfd/elf-bfd.h 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/bfd/elf-bfd.h 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/bfd/elf-bfd.h 2018-09-05 09:44:28.000000000 +0200 ++++ gdb-8.2/bfd/elf-bfd.h 2019-01-18 14:26:14.000000000 +0100 @@ -2569,6 +2569,32 @@ extern char *elfcore_write_ppc_vmx (bfd *, char *, int *, const void *, int); extern char *elfcore_write_ppc_vsx @@ -75,8 +75,8 @@ Index: gdb-8.2/bfd/elf-bfd.h extern char *elfcore_write_s390_todcmp Index: gdb-8.2/bfd/elf.c =================================================================== ---- gdb-8.2.orig/bfd/elf.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/bfd/elf.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/bfd/elf.c 2018-09-05 09:44:28.000000000 +0200 ++++ gdb-8.2/bfd/elf.c 2019-01-18 14:26:14.000000000 +0100 @@ -9239,6 +9239,84 @@ elfcore_grok_ppc_vsx (bfd *abfd, Elf_Int } @@ -458,8 +458,8 @@ Index: gdb-8.2/bfd/elf.c if (strcmp (section, ".reg-s390-timer") == 0) Index: gdb-8.2/gdb/linux-tdep.c =================================================================== ---- gdb-8.2.orig/gdb/linux-tdep.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/linux-tdep.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/linux-tdep.c 2019-01-18 14:26:14.000000000 +0100 ++++ gdb-8.2/gdb/linux-tdep.c 2019-01-18 14:26:14.000000000 +0100 @@ -1584,7 +1584,6 @@ linux_collect_regset_section_cb (const c int collect_size, const struct regset *regset, const char *human_name, void *cb_data) @@ -498,8 +498,8 @@ Index: gdb-8.2/gdb/linux-tdep.c data->abort_iteration = 1; Index: gdb-8.2/gdb/gdbserver/linux-ppc-low.c =================================================================== ---- gdb-8.2.orig/gdb/gdbserver/linux-ppc-low.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/gdbserver/linux-ppc-low.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/gdbserver/linux-ppc-low.c 2018-09-05 09:27:13.000000000 +0200 ++++ gdb-8.2/gdb/gdbserver/linux-ppc-low.c 2019-01-18 14:26:14.000000000 +0100 @@ -20,6 +20,8 @@ #include "server.h" #include "linux-low.h" @@ -1026,8 +1026,8 @@ Index: gdb-8.2/gdb/gdbserver/linux-ppc-low.c initialize_regsets_info (&ppc_regsets_info); Index: gdb-8.2/gdb/ppc-linux-tdep.c =================================================================== ---- gdb-8.2.orig/gdb/ppc-linux-tdep.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/ppc-linux-tdep.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/ppc-linux-tdep.c 2019-01-18 14:26:09.000000000 +0100 ++++ gdb-8.2/gdb/ppc-linux-tdep.c 2019-01-18 14:26:14.000000000 +0100 @@ -71,6 +71,9 @@ #include "features/rs6000/powerpc-isa205-32l.c" #include "features/rs6000/powerpc-isa205-altivec32l.c" @@ -1048,8 +1048,8 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c #include "features/rs6000/powerpc-e500l.c" /* Shared library operations for PowerPC-Linux. */ -@@ -534,24 +540,6 @@ ppc_linux_collect_vrregset (const struct - regcache_collect_regset (regset, regcache, regnum, buf, len); +@@ -444,24 +450,6 @@ ppc_linux_collect_gregset (const struct + } } -static void @@ -1073,7 +1073,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c /* Regset descriptions. */ static const struct ppc_reg_offsets ppc32_linux_reg_offsets = { -@@ -634,13 +622,13 @@ static const struct regcache_map_entry p +@@ -544,13 +532,13 @@ static const struct regcache_map_entry p static const struct regset ppc32_le_linux_vrregset = { ppc32_le_linux_vrregmap, regcache_supply_regset, @@ -1089,7 +1089,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c }; static const struct regcache_map_entry ppc32_linux_vsxregmap[] = -@@ -655,6 +643,325 @@ static const struct regset ppc32_linux_v +@@ -565,6 +553,325 @@ static const struct regset ppc32_linux_v regcache_collect_regset }; @@ -1415,7 +1415,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c const struct regset * ppc_linux_gregset (int wordsize) { -@@ -682,6 +989,88 @@ ppc_linux_vsxregset (void) +@@ -592,6 +899,88 @@ ppc_linux_vsxregset (void) return &ppc32_linux_vsxregset; } @@ -1504,7 +1504,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c /* Iterate over supported core file register note sections. */ static void -@@ -693,6 +1082,9 @@ ppc_linux_iterate_over_regset_sections ( +@@ -603,6 +992,9 @@ ppc_linux_iterate_over_regset_sections ( struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); int have_altivec = tdep->ppc_vr0_regnum != -1; int have_vsx = tdep->ppc_vsr0_upper_regnum != -1; @@ -1514,7 +1514,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c if (tdep->wordsize == 4) cb (".reg", 48 * 4, 48 * 4, &ppc32_linux_gregset, NULL, cb_data); -@@ -711,6 +1103,153 @@ ppc_linux_iterate_over_regset_sections ( +@@ -621,6 +1013,153 @@ ppc_linux_iterate_over_regset_sections ( if (have_vsx) cb (".reg-ppc-vsx", PPC_LINUX_SIZEOF_VSXREGSET, PPC_LINUX_SIZEOF_VSXREGSET, &ppc32_linux_vsxregset, "POWER7 VSX", cb_data); @@ -1668,7 +1668,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c } static void -@@ -1123,6 +1662,11 @@ ppc_linux_core_read_description (struct +@@ -1033,6 +1572,11 @@ ppc_linux_core_read_description (struct asection *altivec = bfd_get_section_by_name (abfd, ".reg-ppc-vmx"); asection *vsx = bfd_get_section_by_name (abfd, ".reg-ppc-vsx"); asection *section = bfd_get_section_by_name (abfd, ".reg"); @@ -1680,7 +1680,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c if (! section) return NULL; -@@ -1155,6 +1699,22 @@ ppc_linux_core_read_description (struct +@@ -1065,6 +1609,22 @@ ppc_linux_core_read_description (struct features.isa205 = ppc_linux_has_isa205 (hwcap); @@ -1703,7 +1703,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c return ppc_linux_match_description (features); } -@@ -2028,6 +2588,9 @@ _initialize_ppc_linux_tdep (void) +@@ -1938,6 +2498,9 @@ _initialize_ppc_linux_tdep (void) initialize_tdesc_powerpc_isa205_32l (); initialize_tdesc_powerpc_isa205_altivec32l (); initialize_tdesc_powerpc_isa205_vsx32l (); @@ -1713,7 +1713,7 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c initialize_tdesc_powerpc_64l (); initialize_tdesc_powerpc_altivec64l (); initialize_tdesc_powerpc_cell64l (); -@@ -2035,5 +2598,8 @@ _initialize_ppc_linux_tdep (void) +@@ -1945,5 +2508,8 @@ _initialize_ppc_linux_tdep (void) initialize_tdesc_powerpc_isa205_64l (); initialize_tdesc_powerpc_isa205_altivec64l (); initialize_tdesc_powerpc_isa205_vsx64l (); @@ -1724,8 +1724,8 @@ Index: gdb-8.2/gdb/ppc-linux-tdep.c } Index: gdb-8.2/gdb/reggroups.c =================================================================== ---- gdb-8.2.orig/gdb/reggroups.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/reggroups.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/reggroups.c 2018-01-05 05:07:23.000000000 +0100 ++++ gdb-8.2/gdb/reggroups.c 2019-01-18 14:26:14.000000000 +0100 @@ -202,7 +202,9 @@ default_register_reggroup_p (struct gdba if (group == all_reggroup) return 1; @@ -1739,8 +1739,8 @@ Index: gdb-8.2/gdb/reggroups.c return float_p; Index: gdb-8.2/gdb/rs6000-tdep.c =================================================================== ---- gdb-8.2.orig/gdb/rs6000-tdep.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/rs6000-tdep.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/rs6000-tdep.c 2019-01-18 14:26:08.000000000 +0100 ++++ gdb-8.2/gdb/rs6000-tdep.c 2019-01-18 14:26:14.000000000 +0100 @@ -36,7 +36,6 @@ #include "infcall.h" #include "sim-regno.h" @@ -1888,8 +1888,8 @@ Index: gdb-8.2/gdb/rs6000-tdep.c + gdbarch_register_name (gdbarch, regnum), regnum); } - /* Is REGNUM a member of REGGROUP? */ -@@ -2760,25 +2803,35 @@ dfp_pseudo_register_read (struct gdbarch + /* The register format for RS/6000 floating point registers is always +@@ -2655,25 +2698,35 @@ dfp_pseudo_register_read (struct gdbarch int reg_nr, gdb_byte *buffer) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); @@ -1934,7 +1934,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } return status; -@@ -2790,23 +2843,32 @@ dfp_pseudo_register_write (struct gdbarc +@@ -2685,23 +2738,32 @@ dfp_pseudo_register_write (struct gdbarc int reg_nr, const gdb_byte *buffer) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); @@ -1977,7 +1977,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } } -@@ -2816,30 +2878,43 @@ vsx_pseudo_register_read (struct gdbarch +@@ -2711,30 +2773,43 @@ vsx_pseudo_register_read (struct gdbarch int reg_nr, gdb_byte *buffer) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); @@ -2032,7 +2032,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } return status; -@@ -2851,56 +2926,103 @@ vsx_pseudo_register_write (struct gdbarc +@@ -2746,56 +2821,103 @@ vsx_pseudo_register_write (struct gdbarc int reg_nr, const gdb_byte *buffer) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); @@ -2154,7 +2154,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c register_size (gdbarch, reg_nr), buffer); } -@@ -2916,12 +3038,15 @@ rs6000_pseudo_register_read (struct gdba +@@ -2811,12 +2933,15 @@ rs6000_pseudo_register_read (struct gdba if (IS_SPE_PSEUDOREG (tdep, reg_nr)) return e500_pseudo_register_read (gdbarch, regcache, reg_nr, buffer); @@ -2174,7 +2174,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c else internal_error (__FILE__, __LINE__, _("rs6000_pseudo_register_read: " -@@ -2941,12 +3066,15 @@ rs6000_pseudo_register_write (struct gdb +@@ -2836,12 +2961,15 @@ rs6000_pseudo_register_write (struct gdb if (IS_SPE_PSEUDOREG (tdep, reg_nr)) e500_pseudo_register_write (gdbarch, regcache, reg_nr, buffer); @@ -2194,7 +2194,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c else internal_error (__FILE__, __LINE__, _("rs6000_pseudo_register_write: " -@@ -2954,6 +3082,97 @@ rs6000_pseudo_register_write (struct gdb +@@ -2849,6 +2977,97 @@ rs6000_pseudo_register_write (struct gdb gdbarch_register_name (gdbarch, reg_nr), reg_nr); } @@ -2292,7 +2292,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c static int rs6000_ax_pseudo_register_collect (struct gdbarch *gdbarch, struct agent_expr *ax, int reg_nr) -@@ -2965,29 +3184,20 @@ rs6000_ax_pseudo_register_collect (struc +@@ -2860,29 +3079,20 @@ rs6000_ax_pseudo_register_collect (struc ax_reg_mask (ax, tdep->ppc_gp0_regnum + reg_index); ax_reg_mask (ax, tdep->ppc_ev0_upper_regnum + reg_index); } @@ -2331,7 +2331,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } else internal_error (__FILE__, __LINE__, -@@ -4593,6 +4803,17 @@ ppc_process_record_op31 (struct gdbarch +@@ -4488,6 +4698,17 @@ ppc_process_record_op31 (struct gdbarch case 570: /* Count Trailing Zeros Doubleword */ case 890: /* Extend-Sign Word and Shift Left Immediate (445) */ case 890 | 1: /* Extend-Sign Word and Shift Left Immediate (445) */ @@ -2349,7 +2349,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c if (PPC_RC (insn)) record_full_arch_list_add_reg (regcache, tdep->ppc_cr_regnum); record_full_arch_list_add_reg (regcache, -@@ -4802,6 +5023,10 @@ ppc_process_record_op31 (struct gdbarch +@@ -4697,6 +4918,10 @@ ppc_process_record_op31 (struct gdbarch case 1: /* XER */ record_full_arch_list_add_reg (regcache, tdep->ppc_xer_regnum); return 0; @@ -2360,7 +2360,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c case 8: /* LR */ record_full_arch_list_add_reg (regcache, tdep->ppc_lr_regnum); return 0; -@@ -4811,6 +5036,15 @@ ppc_process_record_op31 (struct gdbarch +@@ -4706,6 +4931,15 @@ ppc_process_record_op31 (struct gdbarch case 256: /* VRSAVE */ record_full_arch_list_add_reg (regcache, tdep->ppc_vrsave_regnum); return 0; @@ -2376,7 +2376,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } goto UNKNOWN_OP; -@@ -5972,8 +6206,12 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -5867,8 +6101,12 @@ rs6000_gdbarch_init (struct gdbarch_info enum powerpc_long_double_abi long_double_abi = POWERPC_LONG_DOUBLE_AUTO; enum powerpc_vector_abi vector_abi = powerpc_vector_abi_global; enum powerpc_elf_abi elf_abi = POWERPC_ELF_AUTO; @@ -2391,7 +2391,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c int tdesc_wordsize = -1; const struct target_desc *tdesc = info.target_desc; struct tdesc_arch_data *tdesc_data = NULL; -@@ -6198,7 +6436,8 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6093,7 +6331,8 @@ rs6000_gdbarch_init (struct gdbarch_info valid_p &= tdesc_numbered_register (feature, tdesc_data, PPC_VSR0_UPPER_REGNUM + i, vsx_regs[i]); @@ -2401,7 +2401,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c { tdesc_data_cleanup (tdesc_data); return NULL; -@@ -6256,6 +6495,316 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6151,6 +6390,316 @@ rs6000_gdbarch_init (struct gdbarch_info } else have_spe = 0; @@ -2718,7 +2718,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c } /* If we have a 64-bit binary on a 32-bit target, complain. Also -@@ -6450,6 +6999,32 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6345,6 +6894,32 @@ rs6000_gdbarch_init (struct gdbarch_info tdep->ppc_ev0_upper_regnum = have_spe ? PPC_SPE_UPPER_GP0_REGNUM : -1; tdep->ppc_acc_regnum = have_spe ? PPC_SPE_ACC_REGNUM : -1; tdep->ppc_spefscr_regnum = have_spe ? PPC_SPE_FSCR_REGNUM : -1; @@ -2751,7 +2751,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c set_gdbarch_pc_regnum (gdbarch, PPC_PC_REGNUM); set_gdbarch_sp_regnum (gdbarch, PPC_R0_REGNUM + 1); -@@ -6472,7 +7047,7 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6367,7 +6942,7 @@ rs6000_gdbarch_init (struct gdbarch_info else tdep->lr_frame_offset = 4; @@ -2760,7 +2760,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c { set_gdbarch_pseudo_register_read (gdbarch, rs6000_pseudo_register_read); set_gdbarch_pseudo_register_write (gdbarch, -@@ -6494,6 +7069,11 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6389,6 +6964,11 @@ rs6000_gdbarch_init (struct gdbarch_info if (have_vsx) /* Include both VSX and Extended FP registers. */ num_pseudoregs += 96; @@ -2772,7 +2772,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c set_gdbarch_num_pseudo_regs (gdbarch, num_pseudoregs); -@@ -6598,8 +7178,6 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6493,8 +7073,6 @@ rs6000_gdbarch_init (struct gdbarch_info } set_tdesc_pseudo_register_type (gdbarch, rs6000_pseudo_register_type); @@ -2781,7 +2781,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c tdesc_use_registers (gdbarch, tdesc, tdesc_data); /* Override the normal target description method to make the SPE upper -@@ -6611,6 +7189,9 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6506,6 +7084,9 @@ rs6000_gdbarch_init (struct gdbarch_info tdep->ppc_dl0_regnum = -1; tdep->ppc_vsr0_regnum = -1; tdep->ppc_efpr0_regnum = -1; @@ -2791,7 +2791,7 @@ Index: gdb-8.2/gdb/rs6000-tdep.c cur_reg = gdbarch_num_regs (gdbarch); -@@ -6631,6 +7212,18 @@ rs6000_gdbarch_init (struct gdbarch_info +@@ -6526,6 +7107,18 @@ rs6000_gdbarch_init (struct gdbarch_info tdep->ppc_efpr0_regnum = cur_reg; cur_reg += 32; } @@ -2812,8 +2812,8 @@ Index: gdb-8.2/gdb/rs6000-tdep.c + gdbarch_num_pseudo_regs (gdbarch) == cur_reg); Index: gdb-8.2/gdb/ppc-linux-nat.c =================================================================== ---- gdb-8.2.orig/gdb/ppc-linux-nat.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/ppc-linux-nat.c 2018-12-06 15:44:54.000000000 +0100 +--- gdb-8.2.orig/gdb/ppc-linux-nat.c 2019-01-18 14:26:09.000000000 +0100 ++++ gdb-8.2/gdb/ppc-linux-nat.c 2019-01-18 14:26:14.000000000 +0100 @@ -31,6 +31,7 @@ #include #include @@ -3332,8 +3332,8 @@ Index: gdb-8.2/gdb/ppc-linux-nat.c Index: gdb-8.2/gdb/arch/ppc-linux-common.c =================================================================== ---- gdb-8.2.orig/gdb/arch/ppc-linux-common.c 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/arch/ppc-linux-common.c 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/arch/ppc-linux-common.c 2018-09-05 09:27:13.000000000 +0200 ++++ gdb-8.2/gdb/arch/ppc-linux-common.c 2019-01-18 14:26:14.000000000 +0100 @@ -53,14 +53,17 @@ ppc_linux_match_description (struct ppc_ if (features.cell) tdesc = tdesc_powerpc_cell64l; @@ -3384,8 +3384,8 @@ Index: gdb-8.2/gdb/arch/ppc-linux-common.c gdb_assert (tdesc != NULL); Index: gdb-8.2/gdb/arch/ppc-linux-common.h =================================================================== ---- gdb-8.2.orig/gdb/arch/ppc-linux-common.h 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/arch/ppc-linux-common.h 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/arch/ppc-linux-common.h 2018-09-05 09:27:13.000000000 +0200 ++++ gdb-8.2/gdb/arch/ppc-linux-common.h 2019-01-18 14:26:14.000000000 +0100 @@ -30,6 +30,20 @@ struct target_desc; #define PPC_LINUX_SIZEOF_VRREGSET 544 @@ -3417,20 +3417,20 @@ Index: gdb-8.2/gdb/arch/ppc-linux-common.h bool cell; }; -@@ -48,6 +65,9 @@ struct ppc_linux_features - const struct ppc_linux_features ppc_linux_no_features = { - 0, +@@ -50,6 +67,9 @@ const struct ppc_linux_features ppc_linu + false, + false, false, + false, + false, + false, + false, }; - /* Return a target description that matches FEATURES. */ Index: gdb-8.2/gdb/arch/ppc-linux-tdesc.h =================================================================== ---- gdb-8.2.orig/gdb/arch/ppc-linux-tdesc.h 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/arch/ppc-linux-tdesc.h 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/arch/ppc-linux-tdesc.h 2018-09-05 09:27:13.000000000 +0200 ++++ gdb-8.2/gdb/arch/ppc-linux-tdesc.h 2019-01-18 14:26:14.000000000 +0100 @@ -29,6 +29,9 @@ extern struct target_desc *tdesc_powerpc extern struct target_desc *tdesc_powerpc_isa205_32l; extern struct target_desc *tdesc_powerpc_isa205_altivec32l; @@ -3452,8 +3452,8 @@ Index: gdb-8.2/gdb/arch/ppc-linux-tdesc.h #endif /* ARCH_PPC_LINUX_TDESC_H */ Index: gdb-8.2/gdb/doc/gdb.texinfo =================================================================== ---- gdb-8.2.orig/gdb/doc/gdb.texinfo 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/doc/gdb.texinfo 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/doc/gdb.texinfo 2019-01-18 14:26:13.000000000 +0100 ++++ gdb-8.2/gdb/doc/gdb.texinfo 2019-01-18 14:26:14.000000000 +0100 @@ -42576,6 +42576,66 @@ contain registers @samp{ev0h} through @s these to present registers @samp{ev0} through @samp{ev31} to the user. @@ -3523,8 +3523,8 @@ Index: gdb-8.2/gdb/doc/gdb.texinfo @cindex target descriptions, S/390 features Index: gdb-8.2/gdb/features/Makefile =================================================================== ---- gdb-8.2.orig/gdb/features/Makefile 2018-12-06 15:40:25.000000000 +0100 -+++ gdb-8.2/gdb/features/Makefile 2018-12-06 15:43:28.000000000 +0100 +--- gdb-8.2.orig/gdb/features/Makefile 2018-09-05 09:27:13.000000000 +0200 ++++ gdb-8.2/gdb/features/Makefile 2019-01-18 14:26:14.000000000 +0100 @@ -73,6 +73,11 @@ WHICH = aarch64 \ rs6000/powerpc-isa205-32l rs6000/powerpc-isa205-64l \ rs6000/powerpc-isa205-altivec32l rs6000/powerpc-isa205-altivec64l \ @@ -3553,7 +3553,7 @@ Index: gdb-8.2/gdb/features/Makefile Index: gdb-8.2/gdb/features/rs6000/power-dscr.xml =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-8.2/gdb/features/rs6000/power-dscr.xml 2018-12-06 15:43:28.000000000 +0100 ++++ gdb-8.2/gdb/features/rs6000/power-dscr.xml 2019-01-18 14:26:14.000000000 +0100 @@ -0,0 +1,12 @@ + +