From 50dab454bdc6de74c28e74add6602bcf95cfe8e3 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Nov 01 2007 22:28:37 +0000 Subject: - Upgrade to GDB 6.7.1. Drop redundant patches, forward-port remaining ones. --- diff --git a/.cvsignore b/.cvsignore index 9ad9df6..4e63393 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gdb-6.7.tar.bz2 +gdb-6.7.1.tar.bz2 diff --git a/gdb-6.7-upstream.patch b/gdb-6.7-upstream.patch deleted file mode 100644 index 9cb994a..0000000 --- a/gdb-6.7-upstream.patch +++ /dev/null @@ -1,98 +0,0 @@ -2007-09-15 Alan Modra - - * configure.ac: Correct makeinfo version check. - * configure: Regenerate. - -#--- ./configure.ac 14 Sep 2007 14:51:36 -0000 1.25 -#+++ ./configure.ac 14 Sep 2007 15:47:01 -0000 1.26 -#@@ -2462,7 +2462,7 @@ changequote(,) -# # For an installed makeinfo, we require it to be from texinfo 4.4 or -# # higher, else we use the "missing" dummy. -# if ${MAKEINFO} --version \ -#- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then -#+ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then -# : -# else -# MAKEINFO="$MISSING makeinfo" ---- ./configure 14 Sep 2007 14:51:36 -0000 1.277 -+++ ./configure 14 Sep 2007 15:47:01 -0000 1.278 -@@ -6192,7 +6192,7 @@ case " $build_configdirs " in - # For an installed makeinfo, we require it to be from texinfo 4.4 or - # higher, else we use the "missing" dummy. - if ${MAKEINFO} --version \ -- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then -+ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then - : - else - MAKEINFO="$MISSING makeinfo" - - - -Fix: - FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dsub - FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dmul - FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly ddiv - FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dcmpu - -2007-10-15 Peter Bergner - - * ppc-opc.c (powerpc_opcodes): Fix the first two operands of - dquaiq. to use the TE and FRT macros. - ---- ./opcodes/ppc-opc.c 16 Oct 2007 02:26:30 -0000 1.100 -+++ ./opcodes/ppc-opc.c 16 Oct 2007 02:55:30 -0000 1.101 -@@ -4680,7 +4680,7 @@ const struct powerpc_opcode powerpc_opco - { "dscliq.", ZRC(63,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } }, - - { "dquaiq", ZRC(63,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } }, --{ "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } }, -+{ "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } }, - - { "mtfsb0", XRC(63,70,0), XRARB_MASK, COM, { BT } }, - { "mtfsb0.", XRC(63,70,1), XRARB_MASK, COM, { BT } }, - -2007-10-15 Peter Bergner - - * ppc-opc.c (TE): Correct signedness. - (powerpc_opcodes): Sort psq_st and psq_stu according to major - opcode number. - ---- ./opcodes/ppc-opc.c 24 Aug 2007 00:56:30 -0000 1.99 -+++ ./opcodes/ppc-opc.c 16 Oct 2007 02:26:30 -0000 1.100 -@@ -492,13 +492,13 @@ const struct powerpc_operand powerpc_ope - #define VS VD - { 0x1f, 21, NULL, NULL, PPC_OPERAND_VR }, - -- /* The SIMM field in a VX form instruction. */ -+ /* The SIMM field in a VX form instruction, and TE in Z form. */ - #define SIMM VD + 1 -+#define TE SIMM - { 0x1f, 16, NULL, NULL, PPC_OPERAND_SIGNED}, - -- /* The UIMM field in a VX form instruction, and TE in Z form. */ -+ /* The UIMM field in a VX form instruction. */ - #define UIMM SIMM + 1 --#define TE UIMM - { 0x1f, 16, NULL, NULL, 0 }, - - /* The SHB field in a VA form instruction. */ -@@ -4495,9 +4495,6 @@ const struct powerpc_opcode powerpc_opco - { "fnmadds", A(59,31,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } }, - { "fnmadds.",A(59,31,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } }, - --{ "psq_st", OP(60), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, --{ "psq_stu", OP(61), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, -- - { "dmul", XRC(59,34,0), X_MASK, POWER6, { FRT, FRA, FRB } }, - { "dmul.", XRC(59,34,1), X_MASK, POWER6, { FRT, FRA, FRB } }, - -@@ -4561,6 +4558,9 @@ const struct powerpc_opcode powerpc_opco - - { "stfq", OP(60), OP_MASK, POWER2, { FRS, D, RA } }, - -+{ "psq_st", OP(60), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, -+{ "psq_stu", OP(61), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, -+ - { "stfqu", OP(61), OP_MASK, POWER2, { FRS, D, RA } }, - - { "stfdp", OP(61), OP_MASK, POWER6, { FRT, D, RA0 } }, diff --git a/gdb-6.7.1-upstream.patch b/gdb-6.7.1-upstream.patch new file mode 100644 index 0000000..7587463 --- /dev/null +++ b/gdb-6.7.1-upstream.patch @@ -0,0 +1,68 @@ +Fix: + FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dsub + FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dmul + FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly ddiv + FAIL: gdb.arch/powerpc-power6.exp: Power6 disassembly dcmpu + +2007-10-15 Peter Bergner + + * ppc-opc.c (powerpc_opcodes): Fix the first two operands of + dquaiq. to use the TE and FRT macros. + +--- ./opcodes/ppc-opc.c 16 Oct 2007 02:26:30 -0000 1.100 ++++ ./opcodes/ppc-opc.c 16 Oct 2007 02:55:30 -0000 1.101 +@@ -4680,7 +4680,7 @@ const struct powerpc_opcode powerpc_opco + { "dscliq.", ZRC(63,66,1), Z_MASK, POWER6, { FRT, FRA, SH16 } }, + + { "dquaiq", ZRC(63,67,0), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } }, +-{ "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { FRT, FRA, FRB, RMC } }, ++{ "dquaiq.", ZRC(63,67,1), Z2_MASK, POWER6, { TE, FRT, FRB, RMC } }, + + { "mtfsb0", XRC(63,70,0), XRARB_MASK, COM, { BT } }, + { "mtfsb0.", XRC(63,70,1), XRARB_MASK, COM, { BT } }, + +2007-10-15 Peter Bergner + + * ppc-opc.c (TE): Correct signedness. + (powerpc_opcodes): Sort psq_st and psq_stu according to major + opcode number. + +--- ./opcodes/ppc-opc.c 24 Aug 2007 00:56:30 -0000 1.99 ++++ ./opcodes/ppc-opc.c 16 Oct 2007 02:26:30 -0000 1.100 +@@ -492,13 +492,13 @@ const struct powerpc_operand powerpc_ope + #define VS VD + { 0x1f, 21, NULL, NULL, PPC_OPERAND_VR }, + +- /* The SIMM field in a VX form instruction. */ ++ /* The SIMM field in a VX form instruction, and TE in Z form. */ + #define SIMM VD + 1 ++#define TE SIMM + { 0x1f, 16, NULL, NULL, PPC_OPERAND_SIGNED}, + +- /* The UIMM field in a VX form instruction, and TE in Z form. */ ++ /* The UIMM field in a VX form instruction. */ + #define UIMM SIMM + 1 +-#define TE UIMM + { 0x1f, 16, NULL, NULL, 0 }, + + /* The SHB field in a VA form instruction. */ +@@ -4495,9 +4495,6 @@ const struct powerpc_opcode powerpc_opco + { "fnmadds", A(59,31,0), A_MASK, PPC, { FRT,FRA,FRC,FRB } }, + { "fnmadds.",A(59,31,1), A_MASK, PPC, { FRT,FRA,FRC,FRB } }, + +-{ "psq_st", OP(60), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, +-{ "psq_stu", OP(61), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, +- + { "dmul", XRC(59,34,0), X_MASK, POWER6, { FRT, FRA, FRB } }, + { "dmul.", XRC(59,34,1), X_MASK, POWER6, { FRT, FRA, FRB } }, + +@@ -4561,6 +4558,9 @@ const struct powerpc_opcode powerpc_opco + + { "stfq", OP(60), OP_MASK, POWER2, { FRS, D, RA } }, + ++{ "psq_st", OP(60), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, ++{ "psq_stu", OP(61), OP_MASK, PPCPS, { FRS, PSD, RA, PSW, PSQ } }, ++ + { "stfqu", OP(61), OP_MASK, POWER2, { FRS, D, RA } }, + + { "stfdp", OP(61), OP_MASK, POWER6, { FRT, D, RA0 } }, diff --git a/gdb.spec b/gdb.spec index 32f16da..a8c3281 100644 --- a/gdb.spec +++ b/gdb.spec @@ -8,14 +8,14 @@ Name: gdb # Set version to contents of gdb/version.in. # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3 # and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch). -Version: 6.7 +Version: 6.7.1 # The release always contains a leading reserved number, start it at 1. Release: 1%{?dist} License: GPL Group: Development/Debuggers -Source: ftp://ftp.gnu.org/gnu/gdb/gdb-6.7.tar.bz2 +Source: ftp://ftp.gnu.org/gnu/gdb/gdb-6.7.1.tar.bz2 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) URL: http://gnu.org/software/gdb/ @@ -273,7 +273,7 @@ Patch229: gdb-6.3-bz140532-ppc-unwinding-test.patch Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch # Backported post gdb-6.7 release fixups. -Patch232: gdb-6.7-upstream.patch +Patch232: gdb-6.7.1-upstream.patch # Testcase for PPC Power6/DFP instructions disassembly (BZ 230000). Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch @@ -642,6 +642,9 @@ fi # don't include the files in include, they are part of binutils %changelog +* Thu Nov 1 2007 Jan Kratochvil - 6.7.1-1 +- Upgrade to GDB 6.7.1. Drop redundant patches, forward-port remaining ones. + * Thu Nov 1 2007 Jan Kratochvil - 6.7-1 - Upgrade to GDB 6.7. Drop redundant patches, forward-port remaining ones. - Fix rereading of the main executable on its change. diff --git a/sources b/sources index 5b5ccef..e459049 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d6e7c0ad7654bc91a3a457fabb6ad6c6 gdb-6.7.tar.bz2 +30a6bf36eded4ae5a152d7d71b86dc14 gdb-6.7.1.tar.bz2