2017-12-08 04:31:26 +00:00
|
|
|
gdb-6.3-rh-testversion-20041202.patch
|
|
|
|
gdb-6.3-gstack-20050411.patch
|
|
|
|
gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
|
|
|
|
gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
|
|
|
|
gdb-6.6-bz229517-gcore-without-terminal.patch
|
|
|
|
gdb-6.6-testsuite-timeouts.patch
|
|
|
|
gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
|
|
|
|
gdb-6.3-attach-see-vdso-test.patch
|
|
|
|
gdb-6.5-bz243845-stale-testing-zombie-test.patch
|
|
|
|
gdb-6.6-buildid-locate.patch
|
|
|
|
gdb-6.6-buildid-locate-solib-missing-ids.patch
|
|
|
|
gdb-6.6-buildid-locate-rpm.patch
|
|
|
|
gdb-6.7-ppc-clobbered-registers-O2-test.patch
|
|
|
|
gdb-6.5-gcore-buffer-limit-test.patch
|
|
|
|
gdb-6.3-mapping-zero-inode-test.patch
|
|
|
|
gdb-6.5-section-num-fixup-test.patch
|
|
|
|
gdb-6.8-bz466901-backtrace-full-prelinked.patch
|
|
|
|
gdb-simultaneous-step-resume-breakpoint-test.patch
|
|
|
|
gdb-core-open-vdso-warning.patch
|
|
|
|
gdb-archer-next-over-throw-cxx-exec.patch
|
|
|
|
gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
|
|
|
|
gdb-test-bt-cfi-without-die.patch
|
|
|
|
gdb-bz634108-solib_address.patch
|
|
|
|
gdb-test-dw2-aranges.patch
|
|
|
|
gdb-glibc-strstr-workaround.patch
|
|
|
|
gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
|
|
|
|
gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
|
|
|
|
gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
|
|
|
|
gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
|
|
|
|
gdb-rhbz1156192-recursive-dlopen-test.patch
|
|
|
|
gdb-rhbz1149205-catch-syscall-after-fork-test.patch
|
|
|
|
gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
|
|
|
|
gdb-fedora-libncursesw.patch
|
|
|
|
gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
|
|
|
|
gdb-container-rh-pkg.patch
|
|
|
|
gdb-linux_perf-bundle.patch
|
Rewrite (and rename) gdb-libexec-add-index.patch
It has been observed that the changes added by
gdb-libexec-add-index.patch will result in GDB testing hanging when
the tests are being run using an in-tree GDB; that is when using 'make
check'. One test that is known to fail is gdb.base/with-mf.exp,
though any test that calls the gdb-add-index.sh script will also hang.
The problem is that when the gdb-add-index.sh script is run, the GDB
testsuite passes the GDB command to use within the GDB environment
variable. For in-tree testing this will be something like:
GDB="/path/to/gdb -data-directory /path/to/data-directory"
Notice that the environment variable contains both an executable and
an argument.
Our changes to gdb-add-index.sh add this:
GDB2=/usr/libexec/gdb
if test -x $GDB2 && ! which $GDB &>/dev/null; then
GDB=$GDB2
fi
The problem then is that '-data-directory' is treated as a set of
options to 'which'. Many of these options are not known to 'which',
but the '-i' option is known. The documentation of '-i' says:
--read-alias, -i
Read aliases from stdin, reporting matching ones on
stdout. This is useful in combination with using an alias for
which itself. For example
alias which=´alias | which -i´.
And here's the problem; this option causes 'which' to read from
stdin. As the GDB testsuite doesn't send any additional input on
stdin then the which command will never complete, and the test will
hang.
The solution I think is to avoid calling 'which' like this on a user
supplied GDB environment variable.
The changes in the gdb-libexec-add-index.patch were really about what
the _default_ GDB executable should be. The upstream version of this
script does this:
GDB=${GDB:=gdb}
That is, the default is just 'gdb'. However, for RH this is not good
enough. We want to handle two additional cases, first, when only the
gdb-minimal package is installed, in which case the default should be
/usr/bin/gdb.minimal. Then we also want to handle the case where the
user doesn't have 'gdb' itself in their $PATH, but does have the 'gdb'
executable installed in /usr/libexec/gdb.
The code as it currently stands also has a problem where, if
gdb.minimal is installed on the machine this will _always_ be used in
preference to the user supplied GDB value (assuming the code worked at
all) this means that when doing in-tree testing we wouldn't actually
be using the in-tree GDB to build the index, which isn't ideal.
So in this commit I propose that we rework our gdb-add-index.sh
changes. Now, we only use the RH special values in the case that
there is no GDB environment variable set. I believe this handles all
the required use cases:
1. When doing in-tree testing GDB environment variable will be set,
and this will always be used as is, with no special processing,
2. When gdb-add-index.sh is used and GDB environment variable is not
set then we will use the first of the following as the default:
(a) /usr/bin/gdb.minimal if this file exists and is executable,
(b) The first gdb executable that can be found in the $PATH,
(c) /usr/libexec/gdb if this file exists and is executable.
While I was changing this patch anyway I've removed the libexec part
of the patch name -- this no longer seemed relevant, I suspect this
related to an older version of this patch.
2023-05-04 13:48:16 +00:00
|
|
|
gdb-add-index.patch
|
2023-11-28 15:20:27 +00:00
|
|
|
gdb-rhbz2232086-refactor-selftest-support.patch
|
|
|
|
gdb-rhbz-2232086-reduce-size-of-gdb-index.patch
|
|
|
|
gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch
|
|
|
|
gdb-rhbz-2232086-generate-gdb-index-consistently.patch
|
|
|
|
gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch
|
2024-01-08 12:32:04 +00:00
|
|
|
gdb-rhbz2250652-gdbpy_gil.patch
|
|
|
|
gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch
|
2024-01-17 03:12:34 +00:00
|
|
|
gdb-rhbz2257562-cp-namespace-null-ptr-check.patch
|
2024-01-17 20:10:14 +00:00
|
|
|
gdb-ftbs-swapped-calloc-args.patch
|
2024-01-24 10:17:46 +00:00
|
|
|
gdb-rhbz2259850-list-period-crash-fix.patch
|