diff --git a/gdb-6.3-rh-testversion-20041202.patch b/0001-gdb-6.3-rh-testversion-20041202.patch similarity index 100% rename from gdb-6.3-rh-testversion-20041202.patch rename to 0001-gdb-6.3-rh-testversion-20041202.patch diff --git a/gdb-6.3-gstack-20050411.patch b/0002-gdb-6.3-gstack-20050411.patch similarity index 100% rename from gdb-6.3-gstack-20050411.patch rename to 0002-gdb-6.3-gstack-20050411.patch diff --git a/gdb-6.3-test-movedir-20050125.patch b/0004-gdb-6.3-test-movedir-20050125.patch similarity index 100% rename from gdb-6.3-test-movedir-20050125.patch rename to 0004-gdb-6.3-test-movedir-20050125.patch diff --git a/gdb-6.3-threaded-watchpoints2-20050225.patch b/0005-gdb-6.3-threaded-watchpoints2-20050225.patch similarity index 100% rename from gdb-6.3-threaded-watchpoints2-20050225.patch rename to 0005-gdb-6.3-threaded-watchpoints2-20050225.patch diff --git a/gdb-6.3-inheritancetest-20050726.patch b/0006-gdb-6.3-inheritancetest-20050726.patch similarity index 100% rename from gdb-6.3-inheritancetest-20050726.patch rename to 0006-gdb-6.3-inheritancetest-20050726.patch diff --git a/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch b/0007-gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch similarity index 100% rename from gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch rename to 0007-gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch diff --git a/gdb-6.5-sharedlibrary-path.patch b/0008-gdb-6.5-sharedlibrary-path.patch similarity index 100% rename from gdb-6.5-sharedlibrary-path.patch rename to 0008-gdb-6.5-sharedlibrary-path.patch diff --git a/gdb-6.5-BEA-testsuite.patch b/0009-gdb-6.5-BEA-testsuite.patch similarity index 100% rename from gdb-6.5-BEA-testsuite.patch rename to 0009-gdb-6.5-BEA-testsuite.patch diff --git a/gdb-6.5-last-address-space-byte-test.patch b/0010-gdb-6.5-last-address-space-byte-test.patch similarity index 100% rename from gdb-6.5-last-address-space-byte-test.patch rename to 0010-gdb-6.5-last-address-space-byte-test.patch diff --git a/gdb-6.5-readline-long-line-crash-test.patch b/0011-gdb-6.5-readline-long-line-crash-test.patch similarity index 100% rename from gdb-6.5-readline-long-line-crash-test.patch rename to 0011-gdb-6.5-readline-long-line-crash-test.patch diff --git a/gdb-6.5-bz218379-ppc-solib-trampoline-test.patch b/0012-gdb-6.5-bz218379-ppc-solib-trampoline-test.patch similarity index 100% rename from gdb-6.5-bz218379-ppc-solib-trampoline-test.patch rename to 0012-gdb-6.5-bz218379-ppc-solib-trampoline-test.patch diff --git a/gdb-6.5-bz109921-DW_AT_decl_file-test.patch b/0013-gdb-6.5-bz109921-DW_AT_decl_file-test.patch similarity index 100% rename from gdb-6.5-bz109921-DW_AT_decl_file-test.patch rename to 0013-gdb-6.5-bz109921-DW_AT_decl_file-test.patch diff --git a/gdb-6.3-bz140532-ppc-unwinding-test.patch b/0014-gdb-6.3-bz140532-ppc-unwinding-test.patch similarity index 100% rename from gdb-6.3-bz140532-ppc-unwinding-test.patch rename to 0014-gdb-6.3-bz140532-ppc-unwinding-test.patch diff --git a/gdb-6.3-bz202689-exec-from-pthread-test.patch b/0015-gdb-6.3-bz202689-exec-from-pthread-test.patch similarity index 100% rename from gdb-6.3-bz202689-exec-from-pthread-test.patch rename to 0015-gdb-6.3-bz202689-exec-from-pthread-test.patch diff --git a/gdb-6.6-bz230000-power6-disassembly-test.patch b/0016-gdb-6.6-bz230000-power6-disassembly-test.patch similarity index 100% rename from gdb-6.6-bz230000-power6-disassembly-test.patch rename to 0016-gdb-6.6-bz230000-power6-disassembly-test.patch diff --git a/gdb-6.6-bz229517-gcore-without-terminal.patch b/0017-gdb-6.6-bz229517-gcore-without-terminal.patch similarity index 100% rename from gdb-6.6-bz229517-gcore-without-terminal.patch rename to 0017-gdb-6.6-bz229517-gcore-without-terminal.patch diff --git a/gdb-6.6-testsuite-timeouts.patch b/0018-gdb-6.6-testsuite-timeouts.patch similarity index 100% rename from gdb-6.6-testsuite-timeouts.patch rename to 0018-gdb-6.6-testsuite-timeouts.patch diff --git a/gdb-6.6-bz237572-ppc-atomic-sequence-test.patch b/0019-gdb-6.6-bz237572-ppc-atomic-sequence-test.patch similarity index 100% rename from gdb-6.6-bz237572-ppc-atomic-sequence-test.patch rename to 0019-gdb-6.6-bz237572-ppc-atomic-sequence-test.patch diff --git a/gdb-6.3-attach-see-vdso-test.patch b/0020-gdb-6.3-attach-see-vdso-test.patch similarity index 100% rename from gdb-6.3-attach-see-vdso-test.patch rename to 0020-gdb-6.3-attach-see-vdso-test.patch diff --git a/gdb-6.5-bz243845-stale-testing-zombie-test.patch b/0021-gdb-6.5-bz243845-stale-testing-zombie-test.patch similarity index 100% rename from gdb-6.5-bz243845-stale-testing-zombie-test.patch rename to 0021-gdb-6.5-bz243845-stale-testing-zombie-test.patch diff --git a/gdb-6.6-buildid-locate.patch b/0022-gdb-6.6-buildid-locate.patch similarity index 100% rename from gdb-6.6-buildid-locate.patch rename to 0022-gdb-6.6-buildid-locate.patch diff --git a/gdb-6.6-buildid-locate-solib-missing-ids.patch b/0023-gdb-6.6-buildid-locate-solib-missing-ids.patch similarity index 100% rename from gdb-6.6-buildid-locate-solib-missing-ids.patch rename to 0023-gdb-6.6-buildid-locate-solib-missing-ids.patch diff --git a/gdb-6.6-buildid-locate-rpm.patch b/0024-gdb-6.6-buildid-locate-rpm.patch similarity index 100% rename from gdb-6.6-buildid-locate-rpm.patch rename to 0024-gdb-6.6-buildid-locate-rpm.patch diff --git a/gdb-6.7-charsign-test.patch b/0025-gdb-6.7-charsign-test.patch similarity index 100% rename from gdb-6.7-charsign-test.patch rename to 0025-gdb-6.7-charsign-test.patch diff --git a/gdb-6.7-ppc-clobbered-registers-O2-test.patch b/0026-gdb-6.7-ppc-clobbered-registers-O2-test.patch similarity index 100% rename from gdb-6.7-ppc-clobbered-registers-O2-test.patch rename to 0026-gdb-6.7-ppc-clobbered-registers-O2-test.patch diff --git a/gdb-6.7-testsuite-stable-results.patch b/0027-gdb-6.7-testsuite-stable-results.patch similarity index 100% rename from gdb-6.7-testsuite-stable-results.patch rename to 0027-gdb-6.7-testsuite-stable-results.patch diff --git a/gdb-6.5-ia64-libunwind-leak-test.patch b/0028-gdb-6.5-ia64-libunwind-leak-test.patch similarity index 100% rename from gdb-6.5-ia64-libunwind-leak-test.patch rename to 0028-gdb-6.5-ia64-libunwind-leak-test.patch diff --git a/gdb-6.5-missed-trap-on-step-test.patch b/0029-gdb-6.5-missed-trap-on-step-test.patch similarity index 100% rename from gdb-6.5-missed-trap-on-step-test.patch rename to 0029-gdb-6.5-missed-trap-on-step-test.patch diff --git a/gdb-6.5-gcore-buffer-limit-test.patch b/0030-gdb-6.5-gcore-buffer-limit-test.patch similarity index 100% rename from gdb-6.5-gcore-buffer-limit-test.patch rename to 0030-gdb-6.5-gcore-buffer-limit-test.patch diff --git a/gdb-6.3-mapping-zero-inode-test.patch b/0031-gdb-6.3-mapping-zero-inode-test.patch similarity index 100% rename from gdb-6.3-mapping-zero-inode-test.patch rename to 0031-gdb-6.3-mapping-zero-inode-test.patch diff --git a/gdb-6.3-focus-cmd-prev-test.patch b/0032-gdb-6.3-focus-cmd-prev-test.patch similarity index 100% rename from gdb-6.3-focus-cmd-prev-test.patch rename to 0032-gdb-6.3-focus-cmd-prev-test.patch diff --git a/gdb-6.8-bz442765-threaded-exec-test.patch b/0033-gdb-6.8-bz442765-threaded-exec-test.patch similarity index 100% rename from gdb-6.8-bz442765-threaded-exec-test.patch rename to 0033-gdb-6.8-bz442765-threaded-exec-test.patch diff --git a/gdb-6.5-section-num-fixup-test.patch b/0034-gdb-6.5-section-num-fixup-test.patch similarity index 100% rename from gdb-6.5-section-num-fixup-test.patch rename to 0034-gdb-6.5-section-num-fixup-test.patch diff --git a/gdb-6.8-bz466901-backtrace-full-prelinked.patch b/0035-gdb-6.8-bz466901-backtrace-full-prelinked.patch similarity index 100% rename from gdb-6.8-bz466901-backtrace-full-prelinked.patch rename to 0035-gdb-6.8-bz466901-backtrace-full-prelinked.patch diff --git a/gdb-simultaneous-step-resume-breakpoint-test.patch b/0036-gdb-simultaneous-step-resume-breakpoint-test.patch similarity index 100% rename from gdb-simultaneous-step-resume-breakpoint-test.patch rename to 0036-gdb-simultaneous-step-resume-breakpoint-test.patch diff --git a/gdb-core-open-vdso-warning.patch b/0037-gdb-core-open-vdso-warning.patch similarity index 100% rename from gdb-core-open-vdso-warning.patch rename to 0037-gdb-core-open-vdso-warning.patch diff --git a/gdb-ccache-workaround.patch b/0038-gdb-ccache-workaround.patch similarity index 100% rename from gdb-ccache-workaround.patch rename to 0038-gdb-ccache-workaround.patch diff --git a/gdb-lineno-makeup-test.patch b/0039-gdb-lineno-makeup-test.patch similarity index 100% rename from gdb-lineno-makeup-test.patch rename to 0039-gdb-lineno-makeup-test.patch diff --git a/gdb-ppc-power7-test.patch b/0040-gdb-ppc-power7-test.patch similarity index 100% rename from gdb-ppc-power7-test.patch rename to 0040-gdb-ppc-power7-test.patch diff --git a/gdb-archer-next-over-throw-cxx-exec.patch b/0041-gdb-archer-next-over-throw-cxx-exec.patch similarity index 100% rename from gdb-archer-next-over-throw-cxx-exec.patch rename to 0041-gdb-archer-next-over-throw-cxx-exec.patch diff --git a/gdb-bz601887-dwarf4-rh-test.patch b/0042-gdb-bz601887-dwarf4-rh-test.patch similarity index 100% rename from gdb-bz601887-dwarf4-rh-test.patch rename to 0042-gdb-bz601887-dwarf4-rh-test.patch diff --git a/gdb-6.6-buildid-locate-rpm-librpm-workaround.patch b/0043-gdb-6.6-buildid-locate-rpm-librpm-workaround.patch similarity index 100% rename from gdb-6.6-buildid-locate-rpm-librpm-workaround.patch rename to 0043-gdb-6.6-buildid-locate-rpm-librpm-workaround.patch diff --git a/gdb-test-bt-cfi-without-die.patch b/0044-gdb-test-bt-cfi-without-die.patch similarity index 100% rename from gdb-test-bt-cfi-without-die.patch rename to 0044-gdb-test-bt-cfi-without-die.patch diff --git a/gdb-bz634108-solib_address.patch b/0045-gdb-bz634108-solib_address.patch similarity index 100% rename from gdb-bz634108-solib_address.patch rename to 0045-gdb-bz634108-solib_address.patch diff --git a/gdb-test-pid0-core.patch b/0046-gdb-test-pid0-core.patch similarity index 100% rename from gdb-test-pid0-core.patch rename to 0046-gdb-test-pid0-core.patch diff --git a/gdb-test-dw2-aranges.patch b/0047-gdb-test-dw2-aranges.patch similarity index 100% rename from gdb-test-dw2-aranges.patch rename to 0047-gdb-test-dw2-aranges.patch diff --git a/gdb-test-expr-cumulative-archer.patch b/0048-gdb-test-expr-cumulative-archer.patch similarity index 100% rename from gdb-test-expr-cumulative-archer.patch rename to 0048-gdb-test-expr-cumulative-archer.patch diff --git a/gdb-physname-pr11734-test.patch b/0049-gdb-physname-pr11734-test.patch similarity index 100% rename from gdb-physname-pr11734-test.patch rename to 0049-gdb-physname-pr11734-test.patch diff --git a/gdb-physname-pr12273-test.patch b/0050-gdb-physname-pr12273-test.patch similarity index 100% rename from gdb-physname-pr12273-test.patch rename to 0050-gdb-physname-pr12273-test.patch diff --git a/gdb-test-ivy-bridge.patch b/0051-gdb-test-ivy-bridge.patch similarity index 100% rename from gdb-test-ivy-bridge.patch rename to 0051-gdb-test-ivy-bridge.patch diff --git a/gdb-runtest-pie-override.patch b/0052-gdb-runtest-pie-override.patch similarity index 100% rename from gdb-runtest-pie-override.patch rename to 0052-gdb-runtest-pie-override.patch diff --git a/gdb-glibc-strstr-workaround.patch b/0053-gdb-glibc-strstr-workaround.patch similarity index 100% rename from gdb-glibc-strstr-workaround.patch rename to 0053-gdb-glibc-strstr-workaround.patch diff --git a/gdb-rhel5.9-testcase-xlf-var-inside-mod.patch b/0054-gdb-rhel5.9-testcase-xlf-var-inside-mod.patch similarity index 100% rename from gdb-rhel5.9-testcase-xlf-var-inside-mod.patch rename to 0054-gdb-rhel5.9-testcase-xlf-var-inside-mod.patch diff --git a/gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch b/0055-gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch similarity index 100% rename from gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch rename to 0055-gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch diff --git a/gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch b/0056-gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch similarity index 100% rename from gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch rename to 0056-gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch diff --git a/gdb-rhbz1007614-memleak-infpy_read_memory-test.patch b/0057-gdb-rhbz1007614-memleak-infpy_read_memory-test.patch similarity index 100% rename from gdb-rhbz1007614-memleak-infpy_read_memory-test.patch rename to 0057-gdb-rhbz1007614-memleak-infpy_read_memory-test.patch diff --git a/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch b/0058-gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch similarity index 100% rename from gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch rename to 0058-gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch diff --git a/gdb-fortran-frame-string.patch b/0059-gdb-fortran-frame-string.patch similarity index 100% rename from gdb-fortran-frame-string.patch rename to 0059-gdb-fortran-frame-string.patch diff --git a/gdb-rhbz1156192-recursive-dlopen-test.patch b/0060-gdb-rhbz1156192-recursive-dlopen-test.patch similarity index 100% rename from gdb-rhbz1156192-recursive-dlopen-test.patch rename to 0060-gdb-rhbz1156192-recursive-dlopen-test.patch diff --git a/gdb-rhbz1149205-catch-syscall-after-fork-test.patch b/0061-gdb-rhbz1149205-catch-syscall-after-fork-test.patch similarity index 100% rename from gdb-rhbz1149205-catch-syscall-after-fork-test.patch rename to 0061-gdb-rhbz1149205-catch-syscall-after-fork-test.patch diff --git a/gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch b/0062-gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch similarity index 100% rename from gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch rename to 0062-gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch diff --git a/gdb-rhbz1350436-type-printers-error.patch b/0063-gdb-rhbz1350436-type-printers-error.patch similarity index 100% rename from gdb-rhbz1350436-type-printers-error.patch rename to 0063-gdb-rhbz1350436-type-printers-error.patch diff --git a/gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch b/0064-gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch similarity index 100% rename from gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch rename to 0064-gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch diff --git a/gdb-fedora-libncursesw.patch b/0065-gdb-fedora-libncursesw.patch similarity index 100% rename from gdb-fedora-libncursesw.patch rename to 0065-gdb-fedora-libncursesw.patch diff --git a/gdb-opcodes-clflushopt-test.patch b/0066-gdb-opcodes-clflushopt-test.patch similarity index 100% rename from gdb-opcodes-clflushopt-test.patch rename to 0066-gdb-opcodes-clflushopt-test.patch diff --git a/gdb-6.6-buildid-locate-rpm-scl.patch b/0067-gdb-6.6-buildid-locate-rpm-scl.patch similarity index 100% rename from gdb-6.6-buildid-locate-rpm-scl.patch rename to 0067-gdb-6.6-buildid-locate-rpm-scl.patch diff --git a/gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch b/0068-gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch similarity index 100% rename from gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch rename to 0068-gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch diff --git a/gdb-container-rh-pkg.patch b/0069-gdb-container-rh-pkg.patch similarity index 100% rename from gdb-container-rh-pkg.patch rename to 0069-gdb-container-rh-pkg.patch diff --git a/gdb-rhbz1325795-framefilters-test.patch b/0070-gdb-rhbz1325795-framefilters-test.patch similarity index 100% rename from gdb-rhbz1325795-framefilters-test.patch rename to 0070-gdb-rhbz1325795-framefilters-test.patch diff --git a/gdb-linux_perf-bundle.patch b/0071-gdb-linux_perf-bundle.patch similarity index 100% rename from gdb-linux_perf-bundle.patch rename to 0071-gdb-linux_perf-bundle.patch diff --git a/gdb-libexec-add-index.patch b/0072-gdb-libexec-add-index.patch similarity index 100% rename from gdb-libexec-add-index.patch rename to 0072-gdb-libexec-add-index.patch diff --git a/gdb-rhbz1398387-tab-crash-test.patch b/0073-gdb-rhbz1398387-tab-crash-test.patch similarity index 100% rename from gdb-rhbz1398387-tab-crash-test.patch rename to 0073-gdb-rhbz1398387-tab-crash-test.patch diff --git a/gdb-rhbz1553104-s390x-arch12-test.patch b/0074-gdb-rhbz1553104-s390x-arch12-test.patch similarity index 100% rename from gdb-rhbz1553104-s390x-arch12-test.patch rename to 0074-gdb-rhbz1553104-s390x-arch12-test.patch diff --git a/gdb-backport-fix-break-main-file-remove-fail.patch b/0075-gdb-backport-fix-break-main-file-remove-fail.patch similarity index 100% rename from gdb-backport-fix-break-main-file-remove-fail.patch rename to 0075-gdb-backport-fix-break-main-file-remove-fail.patch diff --git a/gdb-backport-readline_support.patch b/0076-gdb-backport-readline_support.patch similarity index 100% rename from gdb-backport-readline_support.patch rename to 0076-gdb-backport-readline_support.patch diff --git a/gdb.spec b/gdb.spec index 13ffdf541814775deb2bbec14ed6e9117e4ceedd..f1164b4d4a6056837009c22b4bb4680e40f3cfe9 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global _python_bytecompile_extra 0 %global librpmso librpm.so.9 @@ -13,81 +13,81 @@ Source0: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz Source1: gdb-gstack.man Source2: gdbinit -Patch001: gdb-6.3-rh-testversion-20041202.patch -Patch002: gdb-6.3-gstack-20050411.patch -Patch004: gdb-6.3-test-movedir-20050125.patch -Patch005: gdb-6.3-threaded-watchpoints2-20050225.patch -Patch006: gdb-6.3-inheritancetest-20050726.patch -Patch007: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch -Patch008: gdb-6.5-sharedlibrary-path.patch -Patch009: gdb-6.5-BEA-testsuite.patch -Patch010: gdb-6.5-last-address-space-byte-test.patch -Patch011: gdb-6.5-readline-long-line-crash-test.patch -Patch012: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch -Patch013: gdb-6.5-bz109921-DW_AT_decl_file-test.patch -Patch014: gdb-6.3-bz140532-ppc-unwinding-test.patch -Patch015: gdb-6.3-bz202689-exec-from-pthread-test.patch -Patch016: gdb-6.6-bz230000-power6-disassembly-test.patch -Patch017: gdb-6.6-bz229517-gcore-without-terminal.patch -Patch018: gdb-6.6-testsuite-timeouts.patch -Patch019: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch -Patch020: gdb-6.3-attach-see-vdso-test.patch -Patch021: gdb-6.5-bz243845-stale-testing-zombie-test.patch -Patch022: gdb-6.6-buildid-locate.patch -Patch023: gdb-6.6-buildid-locate-solib-missing-ids.patch -Patch024: gdb-6.6-buildid-locate-rpm.patch -Patch025: gdb-6.7-charsign-test.patch -Patch026: gdb-6.7-ppc-clobbered-registers-O2-test.patch -Patch027: gdb-6.7-testsuite-stable-results.patch -Patch028: gdb-6.5-ia64-libunwind-leak-test.patch -Patch029: gdb-6.5-missed-trap-on-step-test.patch -Patch030: gdb-6.5-gcore-buffer-limit-test.patch -Patch031: gdb-6.3-mapping-zero-inode-test.patch -Patch032: gdb-6.3-focus-cmd-prev-test.patch -Patch033: gdb-6.8-bz442765-threaded-exec-test.patch -Patch034: gdb-6.5-section-num-fixup-test.patch -Patch035: gdb-6.8-bz466901-backtrace-full-prelinked.patch -Patch036: gdb-simultaneous-step-resume-breakpoint-test.patch -Patch037: gdb-core-open-vdso-warning.patch -Patch038: gdb-ccache-workaround.patch -Patch039: gdb-lineno-makeup-test.patch -Patch040: gdb-ppc-power7-test.patch -Patch041: gdb-archer-next-over-throw-cxx-exec.patch -Patch042: gdb-bz601887-dwarf4-rh-test.patch -Patch043: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch -Patch044: gdb-test-bt-cfi-without-die.patch -Patch045: gdb-bz634108-solib_address.patch -Patch046: gdb-test-pid0-core.patch -Patch047: gdb-test-dw2-aranges.patch -Patch048: gdb-test-expr-cumulative-archer.patch -Patch049: gdb-physname-pr11734-test.patch -Patch050: gdb-physname-pr12273-test.patch -Patch051: gdb-test-ivy-bridge.patch -Patch052: gdb-runtest-pie-override.patch -Patch053: gdb-glibc-strstr-workaround.patch -Patch054: gdb-rhel5.9-testcase-xlf-var-inside-mod.patch -Patch055: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch -Patch056: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch -Patch057: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch -Patch058: gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch -Patch059: gdb-fortran-frame-string.patch -Patch060: gdb-rhbz1156192-recursive-dlopen-test.patch -Patch061: gdb-rhbz1149205-catch-syscall-after-fork-test.patch -Patch062: gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch -Patch063: gdb-rhbz1350436-type-printers-error.patch -Patch064: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch -Patch065: gdb-fedora-libncursesw.patch -Patch066: gdb-opcodes-clflushopt-test.patch -Patch067: gdb-6.6-buildid-locate-rpm-scl.patch -Patch068: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch -Patch069: gdb-container-rh-pkg.patch -Patch070: gdb-rhbz1325795-framefilters-test.patch -Patch071: gdb-linux_perf-bundle.patch -Patch072: gdb-libexec-add-index.patch -Patch073: gdb-rhbz1398387-tab-crash-test.patch -Patch074: gdb-rhbz1553104-s390x-arch12-test.patch -Patch075: gdb-backport-fix-break-main-file-remove-fail.patch -Patch076: gdb-backport-readline_support.patch +Patch001: 0001-gdb-6.3-rh-testversion-20041202.patch +Patch002: 0002-gdb-6.3-gstack-20050411.patch +Patch004: 0004-gdb-6.3-test-movedir-20050125.patch +Patch005: 0005-gdb-6.3-threaded-watchpoints2-20050225.patch +Patch006: 0006-gdb-6.3-inheritancetest-20050726.patch +Patch007: 0007-gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch +Patch008: 0008-gdb-6.5-sharedlibrary-path.patch +Patch009: 0009-gdb-6.5-BEA-testsuite.patch +Patch010: 0010-gdb-6.5-last-address-space-byte-test.patch +Patch011: 0011-gdb-6.5-readline-long-line-crash-test.patch +Patch012: 0012-gdb-6.5-bz218379-ppc-solib-trampoline-test.patch +Patch013: 0013-gdb-6.5-bz109921-DW_AT_decl_file-test.patch +Patch014: 0014-gdb-6.3-bz140532-ppc-unwinding-test.patch +Patch015: 0015-gdb-6.3-bz202689-exec-from-pthread-test.patch +Patch016: 0016-gdb-6.6-bz230000-power6-disassembly-test.patch +Patch017: 0017-gdb-6.6-bz229517-gcore-without-terminal.patch +Patch018: 0018-gdb-6.6-testsuite-timeouts.patch +Patch019: 0019-gdb-6.6-bz237572-ppc-atomic-sequence-test.patch +Patch020: 0020-gdb-6.3-attach-see-vdso-test.patch +Patch021: 0021-gdb-6.5-bz243845-stale-testing-zombie-test.patch +Patch022: 0022-gdb-6.6-buildid-locate.patch +Patch023: 0023-gdb-6.6-buildid-locate-solib-missing-ids.patch +Patch024: 0024-gdb-6.6-buildid-locate-rpm.patch +Patch025: 0025-gdb-6.7-charsign-test.patch +Patch026: 0026-gdb-6.7-ppc-clobbered-registers-O2-test.patch +Patch027: 0027-gdb-6.7-testsuite-stable-results.patch +Patch028: 0028-gdb-6.5-ia64-libunwind-leak-test.patch +Patch029: 0029-gdb-6.5-missed-trap-on-step-test.patch +Patch030: 0030-gdb-6.5-gcore-buffer-limit-test.patch +Patch031: 0031-gdb-6.3-mapping-zero-inode-test.patch +Patch032: 0032-gdb-6.3-focus-cmd-prev-test.patch +Patch033: 0033-gdb-6.8-bz442765-threaded-exec-test.patch +Patch034: 0034-gdb-6.5-section-num-fixup-test.patch +Patch035: 0035-gdb-6.8-bz466901-backtrace-full-prelinked.patch +Patch036: 0036-gdb-simultaneous-step-resume-breakpoint-test.patch +Patch037: 0037-gdb-core-open-vdso-warning.patch +Patch038: 0038-gdb-ccache-workaround.patch +Patch039: 0039-gdb-lineno-makeup-test.patch +Patch040: 0040-gdb-ppc-power7-test.patch +Patch041: 0041-gdb-archer-next-over-throw-cxx-exec.patch +Patch042: 0042-gdb-bz601887-dwarf4-rh-test.patch +Patch043: 0043-gdb-6.6-buildid-locate-rpm-librpm-workaround.patch +Patch044: 0044-gdb-test-bt-cfi-without-die.patch +Patch045: 0045-gdb-bz634108-solib_address.patch +Patch046: 0046-gdb-test-pid0-core.patch +Patch047: 0047-gdb-test-dw2-aranges.patch +Patch048: 0048-gdb-test-expr-cumulative-archer.patch +Patch049: 0049-gdb-physname-pr11734-test.patch +Patch050: 0050-gdb-physname-pr12273-test.patch +Patch051: 0051-gdb-test-ivy-bridge.patch +Patch052: 0052-gdb-runtest-pie-override.patch +Patch053: 0053-gdb-glibc-strstr-workaround.patch +Patch054: 0054-gdb-rhel5.9-testcase-xlf-var-inside-mod.patch +Patch055: 0055-gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch +Patch056: 0056-gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch +Patch057: 0057-gdb-rhbz1007614-memleak-infpy_read_memory-test.patch +Patch058: 0058-gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch +Patch059: 0059-gdb-fortran-frame-string.patch +Patch060: 0060-gdb-rhbz1156192-recursive-dlopen-test.patch +Patch061: 0061-gdb-rhbz1149205-catch-syscall-after-fork-test.patch +Patch062: 0062-gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch +Patch063: 0063-gdb-rhbz1350436-type-printers-error.patch +Patch064: 0064-gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch +Patch065: 0065-gdb-fedora-libncursesw.patch +Patch066: 0066-gdb-opcodes-clflushopt-test.patch +Patch067: 0067-gdb-6.6-buildid-locate-rpm-scl.patch +Patch068: 0068-gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch +Patch069: 0069-gdb-container-rh-pkg.patch +Patch070: 0070-gdb-rhbz1325795-framefilters-test.patch +Patch071: 0071-gdb-linux_perf-bundle.patch +Patch072: 0072-gdb-libexec-add-index.patch +Patch073: 0073-gdb-rhbz1398387-tab-crash-test.patch +Patch074: 0074-gdb-rhbz1553104-s390x-arch12-test.patch +Patch075: 0075-gdb-backport-fix-break-main-file-remove-fail.patch +Patch076: 0076-gdb-backport-readline_support.patch BuildRequires: rpm-libs autoconf BuildRequires: readline-devel >= 6.2-4 @@ -126,6 +126,7 @@ at the moment it crashed. %package doc Summary: Documentation for GDB (the GNU source-level debugger) +Requires: %{name} = %{version}-%{release} License: GFDL BuildArch: noarch @@ -238,7 +239,7 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1 ln -s gstack.1 $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1 ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack -cp $RPM_BUILD_DIR/%{name}-%{version}/gdb/NEWS $RPM_BUILD_DIR/%{name}-%{version} +cp -p $RPM_BUILD_DIR/%{name}-%{version}/gdb/NEWS $RPM_BUILD_DIR/%{name}-%{version} mkdir -p $RPM_BUILD_ROOT%{_prefix}/libexec mv -f $RPM_BUILD_ROOT%{_bindir}/gdb $RPM_BUILD_ROOT%{_prefix}/libexec/gdb @@ -257,8 +258,14 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/ctf-spec* find $RPM_BUILD_ROOT/ -name "*.a" -print -delete +%generate_compatibility_deps + +%check +cd %{gdb_build} + +(cd gdb; make run GDBFLAGS='-batch -ex "maintenance selftest"') + %files -%doc README NEWS %license COPYING3 COPYING COPYING.LIB COPYING3.LIB %{_bindir}/gdb %{_bindir}/gcore @@ -277,20 +284,26 @@ find $RPM_BUILD_ROOT/ -name "*.a" -print -delete %{_datadir}/gdb %files doc -%doc %{gdb_build}/gdb/doc/{gdb,annotate}.{html,pdf} +%doc %{gdb_build}/gdb/doc/{gdb,annotate}.{html,pdf} README NEWS %{_infodir}/annotate.info* %{_infodir}/gdb.info* %files gdbserver +%dir %{abidir} %{_bindir}/gdbserver +%{abidir}/gdbserver-option.list %{_mandir}/*/gdbserver.1* %{_libdir}/libinproctrace.so +%{abidir}/libinproctrace.dump %files headless %{_libexecdir}/gdb %changelog +* Mon Nov 21 2022 Feng Su - 12.1-2 +- add abi/api files, add unit test and standardize patch name + * Sun Nov 13 2022 Funda Wang - 12.1-1 - New verison 12.1