A GNU source-level debugger for C, C++, Fortran, Go and other languages
Go to file
2018-02-05 13:01:55 -05:00
tests Adding tests to the new_tests branch 2018-01-24 11:08:41 -05:00
_gdb.spec.patch.include Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation 2018-02-04 21:49:30 +01:00
_gdb.spec.Patch.include Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation 2018-02-04 21:49:30 +01:00
_git_upstream_commit Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
_patch_order Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation 2018-02-04 21:49:30 +01:00
.gitignore Upload gdb-8.1.tar.xz to cache 2018-01-31 17:51:25 -05:00
gdb-6.3-attach-see-vdso-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-bz140532-ppc-unwinding-test.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-bz202689-exec-from-pthread-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-focus-cmd-prev-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-gstack-20050411.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-inferior-notification-20050721.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-inheritancetest-20050726.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-mapping-zero-inode-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-ppc64displaysymbol-20041124.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-ppc64syscall-20040622.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-readnever-20050907.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-rh-testversion-20041202.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-test-dtorfix-20050121.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-test-movedir-20050125.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-test-pie-20050107.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.3-test-self-20050110.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.3-threaded-watchpoints2-20050225.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-BEA-testsuite.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-bz109921-DW_AT_decl_file-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.5-bz203661-emit-relocs.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.5-bz216711-clone-is-outermost.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.5-bz218379-ppc-solib-trampoline-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.5-bz243845-stale-testing-zombie-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-gcore-buffer-limit-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-ia64-libunwind-leak-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-last-address-space-byte-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-missed-trap-on-step-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-readline-long-line-crash-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-section-num-fixup-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.5-sharedlibrary-path.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.6-buildid-locate-core-as-arg.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.6-buildid-locate-rpm-librpm-workaround.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.6-buildid-locate-rpm-scl.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.6-buildid-locate-rpm.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.6-buildid-locate-solib-missing-ids.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.6-buildid-locate.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.6-bz229517-gcore-without-terminal.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.6-bz230000-power6-disassembly-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.6-bz235197-fork-detach-info.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.6-bz237572-ppc-atomic-sequence-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.6-scheduler_locking-step-is-default.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.6-testsuite-timeouts.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.7-charsign-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.7-ppc-clobbered-registers-O2-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.7-testsuite-stable-results.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.8-attach-signalled-detach-stopped.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-6.8-bz436037-reg-no-longer-active.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.8-bz442765-threaded-exec-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.8-bz466901-backtrace-full-prelinked.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-6.8-quit-never-aborts.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.8-sparc64-silence-memcpy-check.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-6.8-watchpoint-conditionals-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-archer-next-over-throw-cxx-exec.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-archer-pie-addons-keep-disabled.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-archer-pie-addons.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-archer-vla-tests.patch 8.0.90.20180109-2.fc26 2018-01-19 16:03:40 -05:00
gdb-archer.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-attach-fail-reasons-5of5.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-bfd-aliasing.patch Fix strict-aliasing rules compilation error (RH BZ 1315191). 2016-03-08 15:03:26 +01:00
gdb-btrobust.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-bz533176-fortran-omp-step.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-bz541866-rwatch-before-run.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-bz568248-oom-is-error.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-bz601887-dwarf4-rh-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-bz634108-solib_address.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-bz1219747-attach-kills.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-ccache-workaround.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-container-rh-pkg.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-core-open-vdso-warning.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-dts-rhel6-python-compat.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-entryval-crash-1of3.patch Rebase to FSF GDB 7.7.91.20140721 (pre-7.8 snapshot). 2014-07-22 20:38:38 +02:00
gdb-entryval-crash-2of3.patch Rebase to FSF GDB 7.7.91.20140721 (pre-7.8 snapshot). 2014-07-22 20:38:38 +02:00
gdb-entryval-crash-3of3.patch Rebase to FSF GDB 7.7.91.20140721 (pre-7.8 snapshot). 2014-07-22 20:38:38 +02:00
gdb-fedora-libncursesw.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-follow-child-stale-parent.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-fortran-frame-string.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-gdb-add-index-script.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-glibc-strstr-workaround.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-gnat-dwarf-crash-3of3.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-gstack.man - ia64 build fixes from Doug Chapman (BZ 428882). 2008-02-20 09:43:35 +00:00
gdb-jit-reader-multilib.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-libexec-add-index.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-lineno-makeup-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-linux_perf-bundle.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-moribund-utrace-workaround.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-opcodes-clflushopt-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-orphanripper.c [testsuite] [RHEL-5] Fix gdb-orphanripper.c runtime error. 2013-05-06 17:30:58 +02:00
gdb-pahole-python2.patch [rhel6,rhel7] Keep pahole.py and make it Python2 compatible. 2015-09-24 09:18:32 +02:00
gdb-physname-pr11734-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-physname-pr12273-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-ppc64-stwux-tautological-compare.patch Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation 2018-02-04 21:49:30 +01:00
gdb-ppc-power7-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-python-gil.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-readline62-ask-more-rh.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-rhbz795424-bitpos-20of25.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-rhbz795424-bitpos-21of25.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-rhbz795424-bitpos-22of25.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-rhbz795424-bitpos-23of25.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-rhbz795424-bitpos-25of25-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz795424-bitpos-25of25.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-rhbz795424-bitpos-lazyvalue.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1007614-memleak-infpy_read_memory-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1149205-catch-syscall-after-fork-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1156192-recursive-dlopen-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1325795-framefilters-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1350436-type-printers-error.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-rhbz1398387-tab-crash-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch Fix -D_GLIBCXX_DEBUG gdb-add-index regression (RH BZ 1540559). 2018-02-04 21:04:11 +01:00
gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-rhel5.9-testcase-xlf-var-inside-mod.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-runtest-pie-override.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-simultaneous-step-resume-breakpoint-test.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-stale-frame_info.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-test-bt-cfi-without-die.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-test-dw2-aranges.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-test-expr-cumulative-archer.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-test-ivy-bridge.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-test-pid0-core.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-testsuite-readline63-sigint-revert.patch [testsuite] Fix several false FAILs. 2016-04-08 17:32:35 +02:00
gdb-testsuite-readline63-sigint.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-vla-intel-fix-print-char-array.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-vla-intel-fortran-strides.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-vla-intel-fortran-vla-strings.patch Rebase to FSF GDB 8.1. 2018-01-31 17:47:02 -05:00
gdb-vla-intel-stringbt-fix.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb-vla-intel-tests.patch 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
gdb-x86_64-i386-syscall-restart.patch 8.0.90.20180109-1.fc26 2018-01-10 14:21:10 -05:00
gdb.spec Workaround gcc-8.0: -Wno-error=cast-function-type,stringop-truncation 2018-02-04 21:49:30 +01:00
gdbinit [rhel5] Fix /etc/gdbinit compatibility with python-2.4. 2013-10-30 12:53:46 +01:00
gdbtui testsuite: Fix gdb.base/macscp.exp ccache workaround in SCL mode. 2012-02-28 18:05:01 +01:00
generate-git-repo-from-patches.sh 8.0.50.20171204-34.fc26 2017-12-10 17:00:49 -05:00
generate-patches-from-git-repo.sh Make generate-patches-from-git-repo.sh use "_git_upstream_commit" instead of "origin/master" for "git merge-base". 2018-02-05 13:01:55 -05:00
README.local-patches Make generate-patches-from-git-repo.sh use "_git_upstream_commit" instead of "origin/master" for "git merge-base". 2018-02-05 13:01:55 -05:00
sources Upload gdb-8.1.tar.xz to cache 2018-01-31 17:51:25 -05:00
v1.5-libipt-static.patch [dts+el7] [x86*] Bundle libipt - fix its initialization (RH BZ 1256513). 2016-08-23 09:22:28 +02:00
v1.6.1-implicit-fallthrough.patch [rhel dts libipt] Fix#2 [-Werror=implicit-fallthrough=] with gcc-7.1.1. 2017-06-09 15:45:38 +02:00

Fedora GDB local patches policy
===============================

In order to make things easier for the Fedora GDB maintainer, we
choose to auto-generate the local patches by making use of an upstream
git repository.  Below you can find a few instructions on how to work
using this method.

You need to run the following commands from the directory that
contains the "gdb.spec" file.

### Importing the GDB patches into a git repository

1) The local patches (*.patch) need to be imported into an upstream
git repository.  For example, let's assume you cloned the repository
by doing:

  $ git clone git://sourceware.org/git/binutils-gdb.git

  ## TIP: if you already have the repository cloned somewhere in your
  ## system, you can pass a "--reference <dir>" to the "git clone"
  ## command and it will use your local repository as much as possible
  ## to make the clone, speeding up things.

2) After cloning the upstream repository, you can import your patches
by using the script "generate-git-repo-from-patches.sh":

  $ sh generate-git-repo-from-patches.sh <REPOSITORY_DIR>

The script will basically cd into the repository, checkout the
revision specified in the file "_git_upstream_commit", iterate through
the file "_patch_order" and "git-am" every patch *in that order*.
This operation should complete without errors; if you find a problem
with "git-am", it probably means that the revision specified in the
file "_git_upstream_commit" is wrong.

### Rebasing the patches against a newer version/release

1) First, cd into the upstream repository.  All you have to do is
choose the revision against which you plan to rebase the patches, and
"git rebase <REVISION>".  git will do the rest, and you will be able
to perform conflict resolution by git's algorithm, which is smarter.

### Creating new patches

1) Create the new patch on top of the the others, as usual.  Note that
you can use "git rebase" whenever you want to reorder patch order, or
even to delete a patch.

2) When writing the commit log, you must obey a few rules.  The
subject line can be anything, but the body *must* have the following
special line:

  FileName: name-of-the-patch.patch

This line will be used when exporting the patches from the git
repository, and (obviously) it gives the filename that should be used
for this specific patch.

3) You can also add comments that will go into the auto-generated
"Patch:" file (see below).  To do that, use the special marker ";;" at
the beginning of the line.  This way, a commit log that says:

  FileName: test-patch.patch

  ;; This is a test patch
  ;; Second line

Will generate the following entry in the auto-generated "Patch:" file:

  # This is a test patch
  # Second line
  PatchXYZ: test-patch.patch

### Exporting the GDB patches from the git repository

1) When you're done working with the patches, go back to the directory
that contains the "gdb.spec" file, and from there you run:

  $ sh generate-patches-from-git-repo.sh <REPOSITORY_DIR>

This will regenerate all of the *.patch files (excluding the ones that
were also excluded from the git repository), and also regenerate a few
control files.  These control files are:

  - _gdb.spec.Patch.include: This file contains the "Patch:" directives.

  - _gdb.spec.patch.include: This file contains the "%patch" directives.

  - _patch_order: This file contains the patches, in the exact order
    that they must be applied.  It is used when importing the patches
    into the git repository.

  - _git_upstream_commit: This file contains the last upstream commit
    against which the patches were rebased.  It is used when importing
    the patches into the git repository.

NOTE: If you did a rebase against a newer upstream version, you need
to specify the commit/tag/branch against which you rebased:

  $ sh generate-patches-from-git-repo.sh <REPOSITORY_DIR> <COMMIT_OR_TAG_OR_BRANCH>

For example, if you rebased against "gdb-8.1-release":

  $ sh generate-patches-from-git-repo.sh <REPOSITORY_DIR> gdb-8.1-release