2011-08-11 13:47:51 +00:00
|
|
|
#
|
2022-02-03 14:12:21 +00:00
|
|
|
# spec file
|
2014-02-10 17:10:42 +00:00
|
|
|
#
|
2024-02-01 07:32:03 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-02-10 17:23:45 +00:00
|
|
|
# Copyright (c) 2012 RedHat
|
2014-02-10 17:10:42 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
2011-08-11 13:47:51 +00:00
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
2014-02-10 17:10:42 +00:00
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-02-19 16:18:21 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-08-11 13:47:51 +00:00
|
|
|
#
|
2011-03-10 09:18:33 +00:00
|
|
|
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2023-04-12 22:28:11 +00:00
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
2020-08-06 12:58:28 +00:00
|
|
|
|
|
|
|
%bcond_with ringdisabled
|
2023-03-02 08:37:10 +00:00
|
|
|
%bcond_with for_chroot
|
2020-08-06 12:58:28 +00:00
|
|
|
|
|
|
|
%if "%flavor" == "testsuite"
|
|
|
|
%if %{with ringdisabled}
|
|
|
|
ExclusiveArch: do_not_build
|
|
|
|
%endif
|
2017-11-15 12:32:21 +00:00
|
|
|
%if 0%{?qemu_user_space_build}
|
2019-09-10 15:34:12 +00:00
|
|
|
# In a qemu_user_space_build ptrace is not supported, so we can't test gdb.
|
2020-08-06 12:58:28 +00:00
|
|
|
ExclusiveArch: do_not_build
|
|
|
|
%endif
|
2021-11-05 23:15:40 +00:00
|
|
|
|
|
|
|
# Disable big-endian ppc testing.
|
|
|
|
ExcludeArch: ppc ppc64
|
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%define build_main 0
|
|
|
|
%define build_testsuite 1
|
|
|
|
%else
|
|
|
|
%define build_main 1
|
|
|
|
%define build_testsuite 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_testsuite}
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{build_main}
|
|
|
|
%define name_suffix %{nil}
|
|
|
|
%else
|
|
|
|
%if %{build_testsuite}
|
|
|
|
%define name_suffix -testresults
|
|
|
|
%else
|
|
|
|
%define name_suffix -%{flavor}
|
|
|
|
%endif
|
2017-11-15 12:32:21 +00:00
|
|
|
%endif
|
2020-08-06 12:58:28 +00:00
|
|
|
|
2019-11-12 14:23:29 +00:00
|
|
|
%bcond_without fpc
|
2014-08-13 11:27:24 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2014-02-10 17:23:45 +00:00
|
|
|
Summary: A GNU source-level debugger for C, C++, Fortran and other languages
|
2023-04-04 09:26:31 +00:00
|
|
|
License: GPL-3.0-only WITH GCC-exception-3.1 AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
|
2020-11-30 14:28:07 +00:00
|
|
|
Group: Development/Languages/C and C++
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
|
|
|
%if %{build_testsuite}
|
|
|
|
Summary: GDB testsuite results
|
|
|
|
License: SUSE-Public-Domain
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
%endif
|
|
|
|
Name: gdb%{name_suffix}
|
2014-02-10 17:10:42 +00:00
|
|
|
|
2024-05-30 21:00:48 +00:00
|
|
|
Version: 14.2
|
2014-02-10 17:10:42 +00:00
|
|
|
Release: 0
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# The release always contains a leading reserved number, start it at 1.
|
|
|
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-04-16 16:29:50 +00:00
|
|
|
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
2019-05-24 13:40:33 +00:00
|
|
|
# ftp://sourceware.org/pub/gdb/releases/gdb-%%{version}.tar.gz
|
2016-06-20 16:51:43 +00:00
|
|
|
Source: gdb-%{version}.tar.bz2
|
2020-04-14 12:14:23 +00:00
|
|
|
URL: http://gnu.org/software/gdb/
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2013-01-11 14:55:20 +00:00
|
|
|
%if "%{scl}" == "devtoolset-1.1"
|
2014-02-10 17:10:42 +00:00
|
|
|
Obsoletes: devtoolset-1.0-%{pkg_name}
|
2013-01-11 14:55:20 +00:00
|
|
|
%endif
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# For our convenience
|
2020-08-06 12:58:28 +00:00
|
|
|
%global gdb_src gdb-%{version}
|
2012-06-16 04:55:29 +00:00
|
|
|
%global gdb_build build-%{_target_platform}
|
2020-08-06 12:58:28 +00:00
|
|
|
%global gdb_docdir %{_docdir}/gdb-doc
|
2012-06-16 04:55:29 +00:00
|
|
|
|
|
|
|
%global have_inproctrace 0
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%global have_inproctrace 1
|
2019-06-17 13:22:35 +00:00
|
|
|
%endif # %%{ix86} x86_64
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2017-11-08 14:33:53 +00:00
|
|
|
# Choose python version
|
2023-06-16 09:35:32 +00:00
|
|
|
%if 0%{?suse_version} >= 1200
|
2017-11-08 14:33:53 +00:00
|
|
|
%define python python3
|
|
|
|
%else
|
2023-06-16 09:35:32 +00:00
|
|
|
# Skip for SLE-11 due to lack of python3.
|
|
|
|
%define _without_python 1
|
2017-11-08 14:33:53 +00:00
|
|
|
%endif
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# GDB patches have the format `gdb-<version>-bz<red-hat-bz-#>-<desc>.patch'.
|
|
|
|
# They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb).
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2011-03-10 09:18:25 +00:00
|
|
|
#=
|
|
|
|
#push=Should be pushed upstream.
|
|
|
|
#maybepush=Should be pushed upstream unless it got obsoleted there.
|
|
|
|
#fedora=Should stay as a Fedora patch.
|
2014-02-10 17:23:45 +00:00
|
|
|
#ia64=Drop after RHEL-5 rebases and rebuilds are no longer meaningful.
|
2011-03-10 09:18:25 +00:00
|
|
|
#fedoratest=Keep it in Fedora only as a regression test safety.
|
|
|
|
#+ppc=Specific for ppc32/ppc64/ppc*
|
|
|
|
#+work=Requires some nontrivial work.
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Cleanup any leftover testsuite processes as it may stuck mock(1) builds.
|
2011-03-10 09:18:25 +00:00
|
|
|
#=push
|
2014-02-10 17:10:42 +00:00
|
|
|
Source2: gdb-orphanripper.c
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Man page for gstack(1).
|
2011-03-10 09:18:25 +00:00
|
|
|
#=push
|
2014-02-10 17:10:42 +00:00
|
|
|
Source3: gdb-gstack.man
|
2011-03-10 09:18:25 +00:00
|
|
|
|
|
|
|
# /etc/gdbinit (from Debian but with Fedora compliant location).
|
|
|
|
#=fedora
|
2014-02-10 17:10:42 +00:00
|
|
|
Source4: gdbinit
|
2019-07-04 07:16:27 +00:00
|
|
|
Source5: gdbinit.without-python
|
2011-08-11 13:47:36 +00:00
|
|
|
|
2017-10-04 11:22:40 +00:00
|
|
|
# libipt: Intel Processor Trace Decoder Library
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
%global libipt_version 2.0.5
|
2017-10-04 11:22:40 +00:00
|
|
|
Source7: v%{libipt_version}.tar.gz
|
|
|
|
|
2014-05-14 07:52:25 +00:00
|
|
|
# Infrastructure to sync patches from the Fedora rpm
|
|
|
|
Source10: patchlist.pl
|
|
|
|
Source11: patchname_get.sh
|
2014-06-26 14:03:19 +00:00
|
|
|
Source12: baselibs.conf
|
2014-08-13 11:27:24 +00:00
|
|
|
Source13: gdb-rpmlintrc
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
|
|
|
# Infrastructure to maintain package.
|
|
|
|
Source14: clean.sh
|
|
|
|
Source15: import-patches.sh
|
|
|
|
Source16: qa.sh
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
Source17: qa-local.sh
|
|
|
|
Source18: qa-remote.sh
|
|
|
|
Source19: README.qa
|
2023-10-24 12:50:18 +00:00
|
|
|
Source20: import-fedora.sh
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_testsuite}
|
|
|
|
NoSource: 0
|
|
|
|
NoSource: 2
|
|
|
|
NoSource: 3
|
|
|
|
NoSource: 4
|
|
|
|
NoSource: 5
|
|
|
|
NoSource: 7
|
|
|
|
NoSource: 10
|
|
|
|
NoSource: 11
|
|
|
|
NoSource: 12
|
|
|
|
NoSource: 13
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
NoSource: 14
|
|
|
|
NoSource: 15
|
|
|
|
NoSource: 16
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
NoSource: 17
|
|
|
|
NoSource: 18
|
|
|
|
NoSource: 19
|
2023-10-24 12:50:18 +00:00
|
|
|
NoSource: 20
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2014-05-14 07:52:25 +00:00
|
|
|
|
2023-10-21 08:04:00 +00:00
|
|
|
# Fedora import from branch f38, commit 82cc8e0.
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
#Fedora Packages begin
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
Patch2: gdb-6.3-gstack-20050411.patch
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch3: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
|
2024-05-30 21:00:48 +00:00
|
|
|
Patch4: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
|
|
|
|
Patch5: gdb-6.6-bz229517-gcore-without-terminal.patch
|
|
|
|
Patch6: gdb-6.6-testsuite-timeouts.patch
|
|
|
|
Patch7: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
|
|
|
|
Patch8: gdb-6.3-attach-see-vdso-test.patch
|
|
|
|
Patch9: gdb-6.5-bz243845-stale-testing-zombie-test.patch
|
|
|
|
Patch10: gdb-6.6-buildid-locate.patch
|
|
|
|
Patch11: gdb-6.6-buildid-locate-solib-missing-ids.patch
|
|
|
|
Patch12: gdb-6.6-buildid-locate-rpm.patch
|
|
|
|
Patch14: gdb-6.5-gcore-buffer-limit-test.patch
|
|
|
|
Patch15: gdb-6.3-mapping-zero-inode-test.patch
|
|
|
|
Patch16: gdb-6.5-section-num-fixup-test.patch
|
|
|
|
Patch18: gdb-simultaneous-step-resume-breakpoint-test.patch
|
|
|
|
Patch19: gdb-core-open-vdso-warning.patch
|
|
|
|
Patch20: gdb-archer-next-over-throw-cxx-exec.patch
|
|
|
|
Patch21: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
|
|
|
|
Patch22: gdb-test-bt-cfi-without-die.patch
|
|
|
|
Patch23: gdb-bz634108-solib_address.patch
|
|
|
|
Patch24: gdb-test-dw2-aranges.patch
|
|
|
|
Patch25: gdb-glibc-strstr-workaround.patch
|
|
|
|
Patch26: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
|
|
|
|
Patch27: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
|
|
|
|
Patch28: gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
|
|
|
|
Patch31: gdb-rhbz1149205-catch-syscall-after-fork-test.patch
|
|
|
|
Patch32: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
|
|
|
|
Patch33: gdb-fedora-libncursesw.patch
|
|
|
|
Patch34: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
|
|
|
|
Patch36: gdb-linux_perf-bundle.patch
|
|
|
|
Patch38: gdb-rhbz2232086-refactor-selftest-support.patch
|
|
|
|
Patch39: gdb-rhbz-2232086-reduce-size-of-gdb-index.patch
|
|
|
|
Patch40: gdb-rhbz-2232086-cpp-ify-mapped-symtab.patch
|
|
|
|
Patch41: gdb-rhbz-2232086-generate-gdb-index-consistently.patch
|
|
|
|
Patch42: gdb-rhbz-2232086-generate-dwarf-5-index-consistently.patch
|
|
|
|
Patch43: gdb-rhbz2250652-gdbpy_gil.patch
|
|
|
|
Patch44: gdb-rhbz2250652-avoid-PyOS_ReadlineTState.patch
|
|
|
|
Patch45: gdb-ftbs-swapped-calloc-args.patch
|
|
|
|
Patch46: gdb-rhbz2261580-intrusive_list-assertion-fix.patch
|
2013-07-08 14:47:04 +00:00
|
|
|
#Fedora Packages end
|
2010-08-27 12:50:15 +00:00
|
|
|
|
2020-07-23 12:21:48 +00:00
|
|
|
# Fedora patches fixup
|
2023-06-16 09:35:32 +00:00
|
|
|
# These need a number with at least four digits, otherwise patchlist.pl removes
|
|
|
|
# them when upgrading.
|
|
|
|
|
|
|
|
Patch1000: fixup-gdb-linux_perf-bundle.patch
|
|
|
|
Patch1003: fixup-gdb-glibc-strstr-workaround.patch
|
|
|
|
Patch1004: fixup-gdb-6.5-bz243845-stale-testing-zombie-test.patch
|
|
|
|
Patch1005: fixup-gdb-test-bt-cfi-without-die.patch
|
|
|
|
Patch1007: fixup-gdb-test-dw2-aranges.patch
|
|
|
|
Patch1008: fixup-gdb-bz634108-solib_address.patch
|
|
|
|
Patch1009: fixup-gdb-6.3-gstack-20050411.patch
|
|
|
|
Patch1010: fixup-gdb-6.3-attach-see-vdso-test.patch
|
|
|
|
Patch1012: fixup-gdb-rhbz1261564-aarch64-hw-watchpoint-test.pat.patch
|
2024-05-30 21:00:48 +00:00
|
|
|
# Fixes up several patches, should be dropped when updating to
|
|
|
|
# rawhide @ 08bfd0a.
|
|
|
|
Patch1013: fixup-skip-tests.patch
|
2019-08-08 14:14:27 +00:00
|
|
|
|
2019-06-17 13:22:35 +00:00
|
|
|
# openSUSE specific
|
|
|
|
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# Hardcodes /bin/bash, given that path is known.
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch1100: gdb-gcore-bash.patch
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# Make gdb emit zypper install hints, rather than debuginfo-install hints.
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch1101: gdb-6.6-buildid-locate-rpm-suse.patch
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
|
|
|
# openSUSE specific -- testsuite
|
|
|
|
|
|
|
|
# Silences ada pie compilation FAILs. Todo: Fix ada pie compilation.
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch1200: gdb-testsuite-ada-pie.patch
|
2021-11-05 20:33:16 +00:00
|
|
|
# Tests the zypper install hints.
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch1203: gdb-testsuite-add-gdb.suse-zypper-hint.exp.patch
|
2023-03-01 11:32:26 +00:00
|
|
|
# Tests that no branding is leaked from sourcing the fedora package.
|
2023-06-16 09:35:32 +00:00
|
|
|
Patch1204: gdb-testsuite-add-gdb.suse-debranding.exp.patch
|
2019-06-17 13:22:35 +00:00
|
|
|
|
|
|
|
# Patches to upstream
|
2014-02-10 17:10:42 +00:00
|
|
|
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=25703
|
|
|
|
Patch1500: gdb-symtab-set-default-dwarf-max-cache-age-1000.patch
|
|
|
|
# https://bugzilla.suse.com/show_bug.cgi?id=1179210
|
|
|
|
Patch1501: gdb-tui-enable-work-around-libncurses-segfault.patch
|
|
|
|
# Fixes: gdb.x86_64: W: potential-bashisms /usr/bin/gdb-add-index
|
|
|
|
Patch1503: gdb-add-index.sh-fix-bashism.patch
|
|
|
|
# Fixes:
|
|
|
|
# FAIL: gdb.mi/new-ui-mi-sync.exp: sync-command=run: add-inferior (timeout)
|
|
|
|
Patch1504: fix-gdb.mi-new-ui-mi-sync.exp.patch
|
|
|
|
# Fixes:
|
|
|
|
# FAIL: gdb.base/step-over-syscall.exp: fork: displaced=off: \
|
|
|
|
# pc after stepi matches insn addr after syscall
|
|
|
|
Patch1505: gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
|
|
|
|
|
2024-05-30 21:00:48 +00:00
|
|
|
# Backports from current release branch (GDB 14).
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2023-06-16 09:35:32 +00:00
|
|
|
#
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2024-05-30 21:00:48 +00:00
|
|
|
# Backports from master, available in next release (GDB 15).
|
|
|
|
|
|
|
|
Patch2000: gdb-symtab-work-around-pr-gas-29517.patch
|
|
|
|
Patch2001: gdb-symtab-add-producer_is_gas.patch
|
|
|
|
Patch2002: gdb-symtab-work-around-gas-pr28629.patch
|
|
|
|
Patch2003: gdb-tdep-fix-nr-array-elements-in-ppc64_aggregate_ca.patch
|
|
|
|
Patch2004: gdb-tui-fix-wmaybe-uninitialized-in-tui_find_disasse.patch
|
|
|
|
Patch2005: gdb-testsuite-add-missing-no-prompt-anchor-in-gdb.ba.patch
|
|
|
|
Patch2006: gdb-testsuite-remove-spurious-in-save_vars.patch
|
|
|
|
Patch2007: make-pascal_language-print_type-handle-varstring-nul.patch
|
|
|
|
Patch2008: gdb-symtab-work-around-pr-gas-29517-dwarf2-case.patch
|
|
|
|
Patch2010: fix-the-gdb.ada-inline-section-gc.exp-test.patch
|
|
|
|
Patch2011: gdb-testsuite-handle-pac-marker.patch
|
|
|
|
Patch2012: change-gdb.base-examine-backwards.exp-for-aix.patch
|
|
|
|
Patch2013: gdb-testsuite-fix-spurious-fails-with-examine-backwa.patch
|
|
|
|
Patch2014: gdb-testsuite-make-gdb.base-solib-search.exp-more-ro.patch
|
|
|
|
Patch2015: gdb-testsuite-fix-regexp-in-vgdb_start.patch
|
|
|
|
Patch2016: powerpc-and-aarch64-fix-reverse-stepping-failure.patch
|
|
|
|
Patch2017: gdb-tdep-fix-gdb.base-watch-bitfields.exp-on-aarch64.patch
|
|
|
|
Patch2018: gdb-tdep-fix-gdb.base-watchpoint-unaligned.exp-on-aa.patch
|
|
|
|
Patch2019: gdb-testsuite-add-pr-gdb-26967-kfail-in-two-more-tes.patch
|
|
|
|
Patch2020: gdb-testsuite-fix-gdb.base-eh_return.exp.patch
|
|
|
|
Patch2021: fixup-powerpc-and-aarch64-fix-reverse-stepping-failu.patch
|
|
|
|
Patch2022: gdb-exp-fix-printing-of-out-of-bounds-struct-members.patch
|
|
|
|
Patch2023: gdb-fix-heap-use-after-free-in-select_event_lwp.patch
|
|
|
|
Patch2024: fix-regression-on-aarch64-linux-gdbserver.patch
|
|
|
|
Patch2025: gdb-testsuite-factor-out-proc-get_portnum.patch
|
|
|
|
Patch2026: gdb-testsuite-make-portnum-a-persistent-global.patch
|
|
|
|
Patch2027: gdb-testsuite-factor-out-proc-with_lock.patch
|
|
|
|
Patch2028: gdb-testsuite-factor-out-proc-lock_dir.patch
|
|
|
|
Patch2029: gdb-testsuite-move-gpu-parallel.lock-to-cache-dir.patch
|
|
|
|
Patch2030: gdb-testsuite-use-unique-portnum-in-parallel-testing.patch
|
|
|
|
Patch2031: gdb-testsuite-use-unique-portnum-in-parallel-testing-check-slash-slash-case.patch
|
|
|
|
Patch2032: gdb-tdep-fix-reverse-execution-of-ldr-immediate-t4.patch
|
|
|
|
Patch2033: gdb-exp-fix-cast-handling-for-indirection.patch
|
|
|
|
Patch2034: gdb-remote-fix-abort-on-remote_close_error.patch
|
|
|
|
Patch2035: gdb-testsuite-use-find_gnatmake-instead-of-gdb_find_.patch
|
|
|
|
Patch2036: gdb-testsuite-simplify-gdb.server-server-kill-python.patch
|
|
|
|
Patch2037: gdb-testsuite-fix-gdbserver-pid-in-gdb.server-server.patch
|
|
|
|
Patch2038: gdb-testsuite-add-missing-include-in-gdb.base-ctf-pt.patch
|
|
|
|
Patch2039: gdb-testsuite-fix-gdb.ada-verylong.exp-on-32-bit-tar.patch
|
|
|
|
Patch2040: gdb-testsuite-add-missing-includes-in-gdb.trace-coll.patch
|
|
|
|
Patch2041: gdb-testsuite-fix-missing-return-type-in-gdb.linespe.patch
|
|
|
|
Patch2042: gdb-testsuite-fix-gdb.base-ending-run.exp-on-manjaro.patch
|
|
|
|
Patch2043: gdb-testsuite-fix-test-case-gdb.threads-attach-stopp.patch
|
|
|
|
Patch2044: gdb-testsuite-add-missing-include-in-gdb.base-rtld-s.patch
|
|
|
|
Patch2045: gdb-testsuite-fix-valgrind-tests-on-debian.patch
|
|
|
|
Patch2046: gdb-testsuite-fix-gdb.server-server-connect.exp-for-.patch
|
|
|
|
Patch2047: gdb-testsuite-handle-core-without-build-id-in-gdb.ba.patch
|
|
|
|
Patch2048: gdb-testsuite-fix-gdb.base-list-no-debug.exp-on-debi.patch
|
|
|
|
Patch2049: gdb-testsuite-reset-errcnt-and-warncnt-in-default_gd.patch
|
|
|
|
Patch2050: gdb-testsuite-fix-test-in-gdb.python-py-finish-break.patch
|
|
|
|
Patch2051: gdb-testsuite-further-handle-long-filenames-in-gdb.b.patch
|
|
|
|
Patch2052: gdb-testsuite-fix-license-text-in-gdb.reverse-map-to.patch
|
|
|
|
Patch2053: gdb-testsuite-call-ldd-version-in-gdb.testsuite-dump.patch
|
|
|
|
Patch2054: gdb-testsuite-fix-gdb.mi-mi-dprintf.exp-with-read1.patch
|
|
|
|
Patch2055: gdb-testsuite-fix-gdb.cp-namespace.exp-with-read1.patch
|
|
|
|
Patch2056: gdb-testsuite-fix-typo-in-gdb.base-catch-syscall.exp.patch
|
|
|
|
Patch2057: gdb-testsuite-use-more-progbits-for-arm.patch
|
|
|
|
Patch2058: gdb-testsuite-fix-gdb.dwarf2-dw2-gas-workaround.exp.patch
|
|
|
|
Patch2059: gdb-fix-segfault-in-for_each_block-part-1.patch
|
|
|
|
Patch2060: gdb-fix-segfault-in-for_each_block-part-2.patch
|
|
|
|
Patch2061: gdb-tui-allow-command-window-of-1-or-2-lines.patch
|
|
|
|
Patch2062: gdb-tui-fix-resizing-of-terminal-to-1-or-2-lines.patch
|
|
|
|
Patch2063: gdb-symtab-workaround-pr-gas-31115.patch
|
|
|
|
Patch2064: gdb-arm-remove-tpidruro-register-from-non-freebsd-ta.patch
|
|
|
|
Patch2065: gdb-tdep-fix-catching-syscall-execve-exit-for-arm.patch
|
|
|
|
Patch2066: gdb-arm-fix-epilogue-frame-id.patch
|
|
|
|
Patch2070: rs6000-unwind-on-each-instruction-fix.patch
|
|
|
|
Patch2071: gdb-python-make-gdb.unwindinfo.add_saved_register-mo.patch
|
|
|
|
Patch2072: gdb-arm-remove-thumb-bit-in-arm_adjust_breakpoint_ad.patch
|
2024-05-31 13:06:26 +00:00
|
|
|
Patch2073: gdb-build-fix-gdbserver-linux-aarch64-low.cc-build.patch
|
|
|
|
Patch2074: powerpc-fix-test-gdb.ada-finish-large.exp.patch
|
2024-06-13 09:00:01 +00:00
|
|
|
Patch2075: gdb-python-make-gdb.unwindinfo.add_saved_register-mo-fixup.patch
|
|
|
|
Patch2076: gdb-exp-redo-cast-handling-for-indirection.patch
|
2024-05-30 21:00:48 +00:00
|
|
|
|
|
|
|
# Backports from master, not yet available in next release (GDB 16).
|
|
|
|
|
2024-06-13 09:00:01 +00:00
|
|
|
Patch2090: gdb-python-fix-gdb.python-py-disasm.exp-on-arm-linux.patch
|
|
|
|
Patch2091: gdb-testsuite-fix-gdb.fortran-array-bounds.exp-on-ar.patch
|
|
|
|
|
2024-05-30 21:00:48 +00:00
|
|
|
#
|
2018-11-08 08:59:28 +00:00
|
|
|
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# Backport from gdb-patches
|
|
|
|
|
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2021-September/182226.html
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
Patch2100: gdb-python-finishbreakpoint-update.patch
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2021-October/182444.html
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
Patch2101: gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
|
2021-11-04 07:06:58 +00:00
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2021-May/178990.html
|
2024-05-30 21:00:48 +00:00
|
|
|
Patch2102: gdb-cli-add-ignore-errors-command.patch
|
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2024-May/209469.html
|
|
|
|
Patch2103: gdb-testsuite-fix-error-in-gdb.server-server-kill-py.patch
|
2024-05-31 13:06:26 +00:00
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2024-May/209504.html
|
|
|
|
Patch2104: gdb-testsuite-fix-timeout-in-gdb.tui-resize-2.exp.patch
|
2024-06-13 09:00:01 +00:00
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2024-June/209736.html
|
|
|
|
Patch2105: gdb-tdep-fix-gdb.base-watchpoint-running-on-arm-ppc6.patch
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
|
2023-12-13 22:52:43 +00:00
|
|
|
# https://sourceware.org/pipermail/gdb-patches/2023-December/205054.html
|
|
|
|
Patch2120: gdb-symtab-refactor-condition-in-scan_attributes.patch
|
|
|
|
Patch2121: gdb-symtab-factor-out-m_die_range_map-usage.patch
|
|
|
|
Patch2122: gdb-symtab-handle-nullptr-parent-in-parent_map-set_p.patch
|
|
|
|
Patch2123: gdb-symtab-factor-out-m_deferred_entries-usage.patch
|
|
|
|
Patch2124: gdb-symtab-resolve-deferred-entries-inter-shard-case.patch
|
2024-05-30 21:00:48 +00:00
|
|
|
Patch2125: gdb-testsuite-add-gdb.dwarf2-forward-spec-inter-cu.e.patch
|
|
|
|
Patch2126: gdb-testsuite-add-gdb.dwarf2-backward-spec-inter-cu..patch
|
|
|
|
Patch2127: gdb-symtab-keep-track-of-processed-dies-in-shard.patch
|
|
|
|
Patch2128: gdb-symtab-resolve-deferred-entries-intra-shard-case.patch
|
|
|
|
Patch2129: gdb-symtab-don-t-defer-backward-refs-inter-cu-intra-.patch
|
|
|
|
Patch2130: gdb-symtab-recurse-into-c-dw_tag_subprogram-dies-for.patch
|
|
|
|
Patch2131: gdb-symtab-keep-track-of-all-parents-for-cooked-inde.patch
|
|
|
|
Patch2132: gdb-symtab-fix-dw_tag_inlined_subroutine-entries-in-.patch
|
2023-12-13 22:52:43 +00:00
|
|
|
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
# Debug patches.
|
2022-05-09 15:21:48 +00:00
|
|
|
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
#
|
2022-05-09 15:21:48 +00:00
|
|
|
|
2023-03-01 11:32:26 +00:00
|
|
|
# Other. Needs comment for each patch.
|
|
|
|
|
2023-06-16 09:35:32 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# End of patches.
|
2023-03-01 11:32:26 +00:00
|
|
|
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
2017-05-01 02:01:32 +00:00
|
|
|
%if 0%{suse_version} > 1110
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-05-01 02:01:32 +00:00
|
|
|
%else
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc48
|
|
|
|
BuildRequires: gcc48-c++
|
2017-05-01 02:01:32 +00:00
|
|
|
%endif
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: glibc-devel
|
2017-09-13 14:11:09 +00:00
|
|
|
%if 0%{suse_version} > 1110 && 0%{suse_version} < 1330
|
2019-07-04 07:16:27 +00:00
|
|
|
# GDB supports guile 2.0, but not guile 2.2 (swo#21104). Disable guile
|
|
|
|
# support for newer distro versions in anticipation of a move to guile 2.2.
|
2015-06-29 12:26:20 +00:00
|
|
|
BuildRequires: guile-devel
|
2016-01-18 14:49:48 +00:00
|
|
|
%endif
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: libexpat-devel
|
2019-07-26 12:04:33 +00:00
|
|
|
%if 0%{suse_version} >= 1200
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
%else
|
|
|
|
BuildRequires: texinfo
|
2009-05-07 15:40:45 +00:00
|
|
|
%endif
|
2019-09-10 15:34:12 +00:00
|
|
|
BuildRequires: expect
|
2020-11-30 14:28:07 +00:00
|
|
|
|
|
|
|
# Dependency is there for SLE-11, but configure test fails.
|
2019-06-04 10:18:29 +00:00
|
|
|
BuildRequires: mpfr-devel
|
2020-11-30 14:28:07 +00:00
|
|
|
|
2019-07-26 12:04:33 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2015-06-29 12:26:20 +00:00
|
|
|
BuildRequires: pkg-config
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: rpm-devel
|
2020-11-30 14:28:07 +00:00
|
|
|
# SLE-10 doesn't have xz-devel.
|
|
|
|
%if 0%{suse_version} >= 1110
|
2019-07-23 14:54:28 +00:00
|
|
|
BuildRequires: xz-devel
|
2020-11-30 14:28:07 +00:00
|
|
|
%endif
|
2019-07-26 12:04:33 +00:00
|
|
|
BuildRequires: zlib-devel
|
2024-02-01 07:32:03 +00:00
|
|
|
|
2009-07-29 15:48:42 +00:00
|
|
|
%if 0%{!?_without_python:1}
|
2024-02-01 07:32:03 +00:00
|
|
|
%if %{build_testsuite}
|
|
|
|
BuildRequires: %{python}-base
|
|
|
|
%else
|
2017-11-08 14:33:53 +00:00
|
|
|
Requires: %{python}-base
|
2024-02-01 07:32:03 +00:00
|
|
|
%endif
|
2017-11-08 14:33:53 +00:00
|
|
|
BuildRequires: %{python}-devel
|
2009-07-29 15:48:42 +00:00
|
|
|
%endif # 0%{!?_without_python:1}
|
2024-02-01 07:32:03 +00:00
|
|
|
|
2020-11-30 14:28:07 +00:00
|
|
|
%global have_libdebuginfod 0
|
2024-02-01 07:32:03 +00:00
|
|
|
# Enable for SLE15-SP4/Leap-15.4, ALP/Factory.
|
|
|
|
%if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1600
|
2020-11-30 14:28:07 +00:00
|
|
|
%global have_libdebuginfod 1
|
|
|
|
%endif
|
2024-02-01 07:32:03 +00:00
|
|
|
|
2020-11-30 14:28:07 +00:00
|
|
|
%if 0%{have_libdebuginfod}
|
|
|
|
BuildRequires: libdebuginfod-devel
|
2024-02-01 07:32:03 +00:00
|
|
|
# Indicate that we prefer libdebuginfod1 over libdebuginfod1-dummy.
|
|
|
|
BuildRequires: libdebuginfod1
|
2020-11-30 14:28:07 +00:00
|
|
|
%endif
|
2024-02-01 07:32:03 +00:00
|
|
|
|
2017-10-04 11:22:40 +00:00
|
|
|
%global have_libipt 0
|
2017-10-04 13:25:02 +00:00
|
|
|
%if 0%{suse_version} > 1110
|
2017-10-04 11:22:40 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%global have_libipt 1
|
|
|
|
BuildRequires: cmake
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
# BuildArch would break RHEL-5 by overriding arch and not building noarch.
|
|
|
|
%if 0%{?el5:1}
|
2014-02-10 17:10:42 +00:00
|
|
|
ExclusiveArch: noarch i386 x86_64 ppc ppc64 ia64 s390 s390x
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif # 0%{?el5:1}
|
|
|
|
|
2020-08-06 14:19:18 +00:00
|
|
|
%ifarch s390x
|
|
|
|
%if %{suse_version} > 1500
|
|
|
|
BuildRequires: babeltrace-devel
|
|
|
|
%endif
|
2021-11-22 09:01:58 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch i386 x86_64 ppc64 ppc64le aarch64 riscv64
|
2020-08-06 14:19:18 +00:00
|
|
|
%if %{suse_version} >= 1500
|
|
|
|
BuildRequires: babeltrace-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2021-11-22 08:48:35 +00:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
BuildRequires: libboost_regex-devel
|
|
|
|
BuildRequires: libsource-highlight-devel
|
|
|
|
%endif
|
|
|
|
|
2023-03-01 11:32:26 +00:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
%endif
|
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_testsuite}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2019-07-04 07:16:27 +00:00
|
|
|
# Copied from gcc9/gcc.spec.in
|
|
|
|
# Ada currently fails to build on a few platforms, enable it only
|
|
|
|
# on those that work
|
|
|
|
%if %{suse_version} >= 1310
|
|
|
|
%if %{suse_version} >= 1330
|
|
|
|
%define ada_arch %ix86 x86_64 ppc ppc64 ppc64le s390 s390x ia64 aarch64 riscv64
|
|
|
|
%else
|
|
|
|
%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64
|
|
|
|
%endif
|
|
|
|
%else
|
|
|
|
%define ada_arch %ix86 x86_64 ppc s390 ia64
|
|
|
|
%endif
|
|
|
|
|
2010-03-12 00:40:02 +00:00
|
|
|
# Ensure the devel libraries are installed for both multilib arches.
|
2012-06-16 04:55:29 +00:00
|
|
|
%global bits_local %{?_isa}
|
|
|
|
%global bits_other %{?_isa}
|
2010-04-16 16:29:50 +00:00
|
|
|
%if 0%{!?el5:1}
|
2010-03-12 00:40:02 +00:00
|
|
|
%ifarch s390x
|
2012-06-16 04:55:29 +00:00
|
|
|
%global bits_other (%{__isa_name}-32)
|
2010-03-12 00:40:02 +00:00
|
|
|
%else #!s390x
|
|
|
|
%ifarch ppc
|
2012-06-16 04:55:29 +00:00
|
|
|
%global bits_other (%{__isa_name}-64)
|
2010-03-12 00:40:02 +00:00
|
|
|
%else #!ppc
|
|
|
|
%ifarch sparc64 ppc64 s390x x86_64
|
2012-06-16 04:55:29 +00:00
|
|
|
%global bits_other (%{__isa_name}-32)
|
2010-03-12 00:40:02 +00:00
|
|
|
%endif #sparc64 ppc64 s390x x86_64
|
|
|
|
%endif #!ppc
|
|
|
|
%endif #!s390x
|
2010-04-16 16:29:50 +00:00
|
|
|
%endif #!el5
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: dejagnu
|
|
|
|
BuildRequires: sharutils
|
2009-05-04 16:53:01 +00:00
|
|
|
# gcc-objc++ is not covered by the GDB testsuite.
|
2023-03-01 11:32:26 +00:00
|
|
|
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: gcc-objc
|
2019-07-04 07:16:27 +00:00
|
|
|
%ifarch %ada_arch
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc-ada
|
2016-12-05 13:17:45 +00:00
|
|
|
%endif
|
2021-06-17 11:22:20 +00:00
|
|
|
|
|
|
|
%define supported_32bit_arch x86_64 ppc64
|
|
|
|
|
|
|
|
%if 0%{!?disable_32bit:1}
|
|
|
|
%ifarch %{supported_32bit_arch}
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2016-01-14 17:15:57 +00:00
|
|
|
%if 0%{suse_version} >= 1330
|
|
|
|
# Older distros miss this pseudo package, the Ada
|
|
|
|
# testsuite won't work completely
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc-ada-32bit
|
2016-01-14 17:15:57 +00:00
|
|
|
%endif
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
|
|
|
%if 0%{suse_version} > 1110
|
2024-03-20 10:38:11 +00:00
|
|
|
BuildRequires: gcc-c++-32bit
|
2024-04-24 09:31:51 +00:00
|
|
|
%else
|
|
|
|
# Use system g++ for testing for SLE-11.
|
|
|
|
BuildRequires: gcc-c++
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
%endif
|
|
|
|
|
2021-06-17 11:22:20 +00:00
|
|
|
%if 0%{suse_version} >= 1210 && 0%{suse_version} != 1315
|
2016-11-22 08:16:32 +00:00
|
|
|
BuildRequires: glibc-devel-static-32bit
|
2009-05-04 16:53:01 +00:00
|
|
|
%endif
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
|
|
|
%endif # supported_32bit_arch
|
|
|
|
%endif # !disable_32bit
|
|
|
|
|
2016-11-22 08:16:32 +00:00
|
|
|
%if 0%{suse_version} >= 1210
|
|
|
|
BuildRequires: glibc-devel-static
|
|
|
|
%endif
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
|
2019-07-04 07:16:27 +00:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
# The gccgo command is used by make check for some gdb.go test-cases, so we
|
|
|
|
# need the gcc-go package. However, the gccgo command was missing from the
|
|
|
|
# gcc-go package (bsc#1096677), so we only require it for known fixed
|
|
|
|
# versions.
|
|
|
|
BuildRequires: gcc-go
|
|
|
|
%endif
|
2021-06-17 09:38:51 +00:00
|
|
|
|
2022-04-14 09:25:41 +00:00
|
|
|
%if %{with fpc} && 0%{?is_opensuse}
|
2021-06-17 09:38:51 +00:00
|
|
|
%ifarch x86_64 aarch64 armv7l
|
2022-04-14 09:25:41 +00:00
|
|
|
# Tumbleweed and Leap 15.x.
|
|
|
|
%if 0%{?suse_version} >= 1500
|
2019-07-04 07:16:27 +00:00
|
|
|
BuildRequires: fpc
|
|
|
|
%endif
|
2021-06-17 09:38:51 +00:00
|
|
|
%ifarch %{ix86}
|
2022-04-14 09:25:41 +00:00
|
|
|
# Tumbleweed and Leap 15.{0,1,2}.
|
|
|
|
# fpc seems to be unavailable for Leap 15.{3,4}/i586.
|
|
|
|
%if 0%{?suse_version} > 1500 || (0%{?sle_version} >= 150000 && 0%{?sle_version} <= 150200)
|
2021-06-17 09:38:51 +00:00
|
|
|
BuildRequires: fpc
|
2019-07-04 07:16:27 +00:00
|
|
|
%endif
|
2019-11-12 14:23:29 +00:00
|
|
|
%endif
|
2021-06-17 09:38:51 +00:00
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2019-07-04 07:16:27 +00:00
|
|
|
%if 0%{?suse_version} >= 1200
|
2019-09-10 15:47:42 +00:00
|
|
|
%ifnarch s390
|
|
|
|
# s390 (for SLE12) doesn't have valgrind
|
2019-07-04 07:16:27 +00:00
|
|
|
BuildRequires: valgrind
|
|
|
|
%endif
|
2019-09-10 15:47:42 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-09-14 12:53:10 +00:00
|
|
|
%if 0%{?suse_version} >= 1200
|
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
|
|
%endif
|
|
|
|
|
2020-11-30 14:28:07 +00:00
|
|
|
%if 0%{have_libdebuginfod}
|
|
|
|
BuildRequires: curl
|
|
|
|
BuildRequires: elfutils-debuginfod
|
2024-02-01 07:32:03 +00:00
|
|
|
# Fix: unresolvable: have choice for debuginfod-client needed by
|
|
|
|
# elfutils-debuginfod: debuginfod-client debuginfod-dummy-client.
|
|
|
|
BuildRequires: debuginfod-client
|
2020-11-30 14:28:07 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# SLE-10 doesn't have xz.
|
|
|
|
%if 0%{suse_version} >= 1110
|
|
|
|
# Missing on SLE-11
|
|
|
|
BuildRequires: xz
|
|
|
|
%endif
|
|
|
|
|
2023-06-16 09:35:32 +00:00
|
|
|
%if 0%{!?_without_python:1}
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
# Provide python package xml.etree.ElementTree, used by test-case
|
|
|
|
# gdb.python/py-send-packet.exp.
|
2022-09-22 16:28:50 +00:00
|
|
|
BuildRequires: %{python}-xml
|
2023-06-16 09:35:32 +00:00
|
|
|
%endif
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif # %%{build_testsuite}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
%ifarch ia64
|
2014-02-10 17:10:42 +00:00
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
Requires: libunwind
|
2009-05-04 16:53:01 +00:00
|
|
|
%endif
|
2011-08-11 13:47:51 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
|
|
|
|
2023-10-19 13:23:08 +00:00
|
|
|
%if 0%{!?_without_python:1}
|
2023-10-26 08:58:08 +00:00
|
|
|
%if 0%{?suse_version} >= 1500
|
2023-10-19 13:23:08 +00:00
|
|
|
# For SLE-15 and later, we use source-highlight by default, and
|
2023-10-26 08:58:08 +00:00
|
|
|
# pygments as fallback. So, suggests rather than recommends is what we want.
|
|
|
|
# Don't bother older releases with this.
|
2023-10-19 13:23:08 +00:00
|
|
|
Suggests: %{python}-Pygments
|
|
|
|
%endif
|
2023-10-26 08:58:08 +00:00
|
|
|
%endif
|
2023-10-19 13:23:08 +00:00
|
|
|
|
2006-12-18 23:16:31 +00:00
|
|
|
%description
|
2009-07-29 15:48:42 +00:00
|
|
|
GDB, the GNU debugger, allows you to debug programs written in C, C++,
|
|
|
|
Java, and other languages, by executing them in a controlled fashion
|
|
|
|
and printing their data.
|
2008-05-09 22:02:58 +00:00
|
|
|
|
|
|
|
%package -n gdbserver
|
2014-02-10 17:10:42 +00:00
|
|
|
Summary: A standalone server for GDB (the GNU source-level debugger)
|
2021-02-16 07:12:59 +00:00
|
|
|
License: GPL-3.0-only WITH GCC-exception-3.1 AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
|
2014-02-10 17:10:42 +00:00
|
|
|
Group: Development/Tools/Debuggers
|
2008-05-09 22:02:58 +00:00
|
|
|
|
|
|
|
%description -n gdbserver
|
2009-07-29 15:48:42 +00:00
|
|
|
GDB, the GNU debugger, allows you to debug programs written in C, C++,
|
|
|
|
Java, and other languages, by executing them in a controlled fashion
|
|
|
|
and printing their data.
|
2008-05-09 22:02:58 +00:00
|
|
|
|
2010-04-16 16:29:50 +00:00
|
|
|
This package provides a program that allows you to run GDB on a different
|
|
|
|
machine than the one which is running the program being debugged.
|
2006-12-18 23:16:31 +00:00
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
%package doc
|
2014-02-10 17:10:42 +00:00
|
|
|
Summary: Documentation for GDB (the GNU source-level debugger)
|
2018-08-10 12:19:29 +00:00
|
|
|
License: GFDL-1.3-only
|
2014-02-10 17:10:42 +00:00
|
|
|
Group: Documentation/Other
|
|
|
|
PreReq: %{install_info_prereq}
|
2012-06-16 04:55:29 +00:00
|
|
|
|
2013-01-11 14:55:20 +00:00
|
|
|
%if "%{scl}" == "devtoolset-1.1"
|
2014-02-10 17:10:42 +00:00
|
|
|
Obsoletes: devtoolset-1.0-%{pkg_name}-doc
|
2013-01-11 14:55:20 +00:00
|
|
|
%endif
|
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
%description doc
|
|
|
|
GDB, the GNU debugger, allows you to debug programs written in C, C++,
|
|
|
|
Java, and other languages, by executing them in a controlled fashion
|
|
|
|
and printing their data.
|
|
|
|
|
|
|
|
This package provides INFO, HTML and PDF user manual for GDB.
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_testsuite}
|
|
|
|
%description
|
2021-02-16 07:12:59 +00:00
|
|
|
Results from running the GDB testsuite.
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
%prep
|
2009-05-04 16:53:01 +00:00
|
|
|
%setup -q -n %{gdb_src}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
%if 0%{?rhel:1} && 0%{?rhel} <= 6
|
2011-08-11 13:47:36 +00:00
|
|
|
# libstdc++ pretty printers.
|
|
|
|
tar xjf %{SOURCE5}
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
|
2011-08-11 13:47:36 +00:00
|
|
|
|
|
|
|
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
|
|
|
|
rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
|
2013-01-11 14:55:20 +00:00
|
|
|
rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c gdb/go-exp.c
|
|
|
|
|
|
|
|
# *.info* is needlessly split in the distro tar; also it would not get used as
|
2019-06-17 13:22:35 +00:00
|
|
|
# we build in %%{gdb_build}, just to be sure.
|
2013-01-11 14:55:20 +00:00
|
|
|
find -name "*.info*"|xargs rm -f
|
2011-08-11 13:47:36 +00:00
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
#Fedora patching start
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 2 -p1
|
|
|
|
%patch -P 3 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 4 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 5 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 6 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 7 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 8 -p1
|
|
|
|
%patch -P 9 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 10 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 11 -p1
|
|
|
|
%patch -P 12 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 14 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 15 -p1
|
|
|
|
%patch -P 16 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 18 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 19 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 20 -p1
|
|
|
|
%patch -P 21 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 22 -p1
|
|
|
|
%patch -P 23 -p1
|
|
|
|
%patch -P 24 -p1
|
|
|
|
%patch -P 25 -p1
|
|
|
|
%patch -P 26 -p1
|
|
|
|
%patch -P 27 -p1
|
|
|
|
%patch -P 28 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 31 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 32 -p1
|
|
|
|
%patch -P 33 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 34 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 36 -p1
|
|
|
|
%patch -P 38 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 39 -p1
|
|
|
|
%patch -P 40 -p1
|
2024-04-24 09:31:51 +00:00
|
|
|
%patch -P 41 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 42 -p1
|
|
|
|
%patch -P 43 -p1
|
|
|
|
%patch -P 44 -p1
|
|
|
|
%patch -P 45 -p1
|
|
|
|
%patch -P 46 -p1
|
2013-07-08 14:47:04 +00:00
|
|
|
#Fedora patching end
|
|
|
|
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 1000 -p1
|
|
|
|
%patch -P 1003 -p1
|
|
|
|
%patch -P 1004 -p1
|
|
|
|
%patch -P 1005 -p1
|
|
|
|
%patch -P 1007 -p1
|
|
|
|
%patch -P 1008 -p1
|
|
|
|
%patch -P 1009 -p1
|
|
|
|
%patch -P 1010 -p1
|
|
|
|
%patch -P 1012 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 1013 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
|
|
|
|
%patch -P 1100 -p1
|
|
|
|
%patch -P 1101 -p1
|
|
|
|
|
|
|
|
%patch -P 1200 -p1
|
|
|
|
%patch -P 1203 -p1
|
|
|
|
%patch -P 1204 -p1
|
|
|
|
|
|
|
|
%patch -P 1500 -p1
|
|
|
|
%patch -P 1501 -p1
|
|
|
|
%patch -P 1503 -p1
|
|
|
|
%patch -P 1504 -p1
|
|
|
|
%patch -P 1505 -p1
|
|
|
|
|
|
|
|
%patch -P 2000 -p1
|
|
|
|
%patch -P 2001 -p1
|
|
|
|
%patch -P 2002 -p1
|
|
|
|
%patch -P 2003 -p1
|
|
|
|
%patch -P 2004 -p1
|
|
|
|
%patch -P 2005 -p1
|
|
|
|
%patch -P 2006 -p1
|
|
|
|
%patch -P 2007 -p1
|
|
|
|
%patch -P 2008 -p1
|
|
|
|
%patch -P 2010 -p1
|
|
|
|
%patch -P 2011 -p1
|
|
|
|
%patch -P 2012 -p1
|
|
|
|
%patch -P 2013 -p1
|
|
|
|
%patch -P 2014 -p1
|
|
|
|
%patch -P 2015 -p1
|
|
|
|
%patch -P 2016 -p1
|
|
|
|
%patch -P 2017 -p1
|
|
|
|
%patch -P 2018 -p1
|
|
|
|
%patch -P 2019 -p1
|
|
|
|
%patch -P 2020 -p1
|
|
|
|
%patch -P 2021 -p1
|
|
|
|
%patch -P 2022 -p1
|
|
|
|
%patch -P 2023 -p1
|
|
|
|
%patch -P 2024 -p1
|
|
|
|
%patch -P 2025 -p1
|
|
|
|
%patch -P 2026 -p1
|
|
|
|
%patch -P 2027 -p1
|
|
|
|
%patch -P 2028 -p1
|
|
|
|
%patch -P 2029 -p1
|
|
|
|
%patch -P 2030 -p1
|
|
|
|
%patch -P 2031 -p1
|
|
|
|
%patch -P 2032 -p1
|
|
|
|
%patch -P 2033 -p1
|
|
|
|
%patch -P 2034 -p1
|
|
|
|
%patch -P 2035 -p1
|
|
|
|
%patch -P 2036 -p1
|
|
|
|
%patch -P 2037 -p1
|
|
|
|
%patch -P 2038 -p1
|
|
|
|
%patch -P 2039 -p1
|
|
|
|
%patch -P 2040 -p1
|
|
|
|
%patch -P 2041 -p1
|
|
|
|
%patch -P 2042 -p1
|
|
|
|
%patch -P 2043 -p1
|
|
|
|
%patch -P 2044 -p1
|
|
|
|
%patch -P 2045 -p1
|
|
|
|
%patch -P 2046 -p1
|
|
|
|
%patch -P 2047 -p1
|
|
|
|
%patch -P 2048 -p1
|
|
|
|
%patch -P 2049 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 2050 -p1
|
|
|
|
%patch -P 2051 -p1
|
|
|
|
%patch -P 2052 -p1
|
|
|
|
%patch -P 2053 -p1
|
|
|
|
%patch -P 2054 -p1
|
|
|
|
%patch -P 2055 -p1
|
|
|
|
%patch -P 2056 -p1
|
|
|
|
%patch -P 2057 -p1
|
|
|
|
%patch -P 2058 -p1
|
|
|
|
%patch -P 2059 -p1
|
|
|
|
%patch -P 2060 -p1
|
|
|
|
%patch -P 2061 -p1
|
|
|
|
%patch -P 2062 -p1
|
|
|
|
%patch -P 2063 -p1
|
|
|
|
%patch -P 2064 -p1
|
|
|
|
%patch -P 2065 -p1
|
|
|
|
%patch -P 2066 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
%patch -P 2070 -p1
|
|
|
|
%patch -P 2071 -p1
|
|
|
|
%patch -P 2072 -p1
|
2024-05-31 13:06:26 +00:00
|
|
|
%patch -P 2073 -p1
|
|
|
|
%patch -P 2074 -p1
|
2024-06-13 09:00:01 +00:00
|
|
|
%patch -P 2075 -p1
|
|
|
|
%patch -P 2076 -p1
|
|
|
|
|
|
|
|
%patch -P 2090 -p1
|
|
|
|
%patch -P 2091 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
|
|
|
|
%patch -P 2100 -p1
|
|
|
|
%patch -P 2101 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 2102 -p1
|
|
|
|
%patch -P 2103 -p1
|
2024-05-31 13:06:26 +00:00
|
|
|
%patch -P 2104 -p1
|
2024-06-13 09:00:01 +00:00
|
|
|
%patch -P 2105 -p1
|
2024-02-27 14:38:23 +00:00
|
|
|
|
|
|
|
%patch -P 2120 -p1
|
|
|
|
%patch -P 2121 -p1
|
|
|
|
%patch -P 2122 -p1
|
|
|
|
%patch -P 2123 -p1
|
|
|
|
%patch -P 2124 -p1
|
|
|
|
%patch -P 2125 -p1
|
|
|
|
%patch -P 2126 -p1
|
|
|
|
%patch -P 2127 -p1
|
|
|
|
%patch -P 2128 -p1
|
|
|
|
%patch -P 2129 -p1
|
|
|
|
%patch -P 2130 -p1
|
2024-05-30 21:00:48 +00:00
|
|
|
%patch -P 2131 -p1
|
|
|
|
%patch -P 2132 -p1
|
2023-12-13 22:52:43 +00:00
|
|
|
|
2017-10-04 11:22:40 +00:00
|
|
|
#unpack libipt
|
|
|
|
%if 0%{have_libipt}
|
|
|
|
tar xzf %{SOURCE7}
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
mv libipt-%{libipt_version} processor-trace-%{libipt_version}
|
2017-10-04 11:22:40 +00:00
|
|
|
%endif
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
find -name "*.orig" | xargs rm -f
|
2010-03-12 00:40:02 +00:00
|
|
|
! find -name "*.rej" # Should not happen.
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Remove the info and other generated files added by the FSF release
|
|
|
|
# process.
|
|
|
|
rm -f libdecnumber/gstdint.h
|
|
|
|
rm -f bfd/doc/*.info
|
|
|
|
rm -f bfd/doc/*.info-*
|
|
|
|
rm -f gdb/doc/*.info
|
|
|
|
rm -f gdb/doc/*.info-*
|
2006-12-18 23:16:31 +00:00
|
|
|
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
# Fixes problem building release tarball with --with-system-readline.
|
|
|
|
# Reported here:
|
|
|
|
# - https://sourceware.org/pipermail/gdb/2021-July/049552.html
|
|
|
|
# - https://sourceware.org/bugzilla/show_bug.cgi?id=27808
|
|
|
|
rm -f gdb/doc/GDBvn.texi
|
|
|
|
|
2006-12-18 23:16:31 +00:00
|
|
|
%build
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Identify the build directory with the version of gdb as well as the
|
|
|
|
# architecture, to allow for mutliple versions to be installed and
|
|
|
|
# built.
|
2019-06-17 13:22:35 +00:00
|
|
|
# Initially we're in the %%{gdb_src} directory.
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2010-09-06 11:08:41 +00:00
|
|
|
for fprofile in %{?_with_profile:-fprofile} ""
|
|
|
|
do
|
|
|
|
|
|
|
|
mkdir %{gdb_build}$fprofile
|
|
|
|
cd %{gdb_build}$fprofile
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2017-05-01 02:01:32 +00:00
|
|
|
%if 0%{suse_version} > 1110
|
|
|
|
CC=gcc
|
|
|
|
CXX=g++
|
|
|
|
%else
|
|
|
|
CC=gcc-4.8
|
|
|
|
CXX=g++-4.8
|
|
|
|
%endif
|
|
|
|
export CC
|
|
|
|
export CXX
|
2014-02-10 17:23:45 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2017-02-17 13:14:36 +00:00
|
|
|
|
2019-06-21 11:06:01 +00:00
|
|
|
# Add your -Wno-x/-Wno-error=y options here:
|
2022-08-02 12:06:30 +00:00
|
|
|
for opt in -Wno-error=odr -Wno-error=enum-int-mismatch; do
|
2021-02-16 07:12:59 +00:00
|
|
|
# checking for acceptance of -Wno-foo is a bit wieldy: GCC doesn't
|
2019-06-21 11:06:01 +00:00
|
|
|
# warn about unknown -Wno- flags, _except_ if there are other
|
|
|
|
# diagnostics as well, so let's force an uninitialized use warning
|
|
|
|
# and grep for the diagnostic about the -Wno flag:
|
2018-03-27 14:02:35 +00:00
|
|
|
if ! echo "int foo(void) { int a; return a;} " | \
|
|
|
|
$CC -x c -c - -o /dev/null -W ${opt} 2>&1 | \
|
2019-06-17 13:22:35 +00:00
|
|
|
grep -E "Wno|no option" >/dev/null; then
|
2018-03-27 14:02:35 +00:00
|
|
|
CFLAGS="$CFLAGS ${opt}"
|
|
|
|
fi
|
|
|
|
done
|
2017-10-04 11:22:40 +00:00
|
|
|
%if %{have_libipt}
|
|
|
|
CFLAGS="$CFLAGS -DPERF_ATTR_SIZE_VER5_BUNDLE"
|
|
|
|
(
|
|
|
|
mkdir processor-trace-%{libipt_version}-root
|
|
|
|
mkdir processor-trace-%{libipt_version}-build
|
|
|
|
cd processor-trace-%{libipt_version}-build
|
|
|
|
# -DPTUNIT:BOOL=ON has no effect on ctest.
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2019-09-26 14:08:42 +00:00
|
|
|
-DBUILD_SHARED_LIBS=OFF \
|
2017-10-04 11:22:40 +00:00
|
|
|
-DPTUNIT:BOOL=OFF \
|
|
|
|
-DDEVBUILD:BOOL=ON \
|
|
|
|
../../processor-trace-%{libipt_version}
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
ctest -V %{?_smp_mflags}
|
|
|
|
make install DESTDIR=../processor-trace-%{libipt_version}-root
|
|
|
|
)
|
|
|
|
# There is also: --with-libipt-prefix
|
|
|
|
CFLAGS="$CFLAGS -I$PWD/processor-trace-%{libipt_version}-root%{_includedir}"
|
|
|
|
LDFLAGS="$LDFLAGS -L$PWD/processor-trace-%{libipt_version}-root%{_libdir}"
|
|
|
|
%endif
|
|
|
|
|
2017-02-17 13:14:36 +00:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
|
2019-09-26 14:06:39 +00:00
|
|
|
export LIBRPM=$(ldd /bin/rpm \
|
|
|
|
| grep librpm.so \
|
|
|
|
| awk '{print $3}')
|
2019-09-10 15:34:12 +00:00
|
|
|
if [ "$LIBRPM" != "" ]; then
|
|
|
|
[ -f "$LIBRPM" ]
|
|
|
|
else
|
|
|
|
export LIBRPM=no
|
2013-11-15 12:08:46 +00:00
|
|
|
fi
|
2019-09-10 15:34:12 +00:00
|
|
|
|
2019-06-05 12:50:01 +00:00
|
|
|
%ifarch %ix86 ia64 ppc ppc64 ppc64le s390 s390x x86_64 aarch64 riscv64
|
2013-07-08 14:47:04 +00:00
|
|
|
%define build_multitarget 1
|
|
|
|
%else
|
|
|
|
%define build_multitarget 0
|
|
|
|
%endif
|
2021-11-15 13:09:31 +00:00
|
|
|
|
|
|
|
%define extra_target_list_common i686 powerpc64le s390x x86_64 aarch64
|
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
%define extra_target_list %{extra_target_list_common} powerpc powerpc64 s390 arm m68k ia64 riscv64
|
|
|
|
%define have_elf_extra_target_list 1
|
|
|
|
%define elf_extra_target_list avr pru spu
|
|
|
|
%else
|
|
|
|
%define extra_target_list %{extra_target_list_common}
|
|
|
|
%define have_elf_extra_target_list 0
|
|
|
|
%endif
|
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
%define DIST %(echo '%distribution' | sed 's, /.*,,')
|
2021-11-15 13:09:31 +00:00
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
%if %build_multitarget
|
2021-11-15 13:09:31 +00:00
|
|
|
EXTRA_TARGETS="%(printf ,%%s-suse-linux %{extra_target_list})"
|
|
|
|
%if %{have_elf_extra_target_list}
|
|
|
|
EXTRA_TARGETS="$EXTRA_TARGETS%(printf ,%%s-elf %{elf_extra_target_list})"
|
|
|
|
%endif
|
2013-07-08 14:47:04 +00:00
|
|
|
%else
|
|
|
|
EXTRA_TARGETS=
|
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2023-05-23 20:49:32 +00:00
|
|
|
# Reenable enable-werror on tumbleweed when upgrading to 13.1 (bsc#1211052)
|
2010-03-12 00:40:02 +00:00
|
|
|
../configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir} \
|
2011-08-11 13:47:36 +00:00
|
|
|
--htmldir=%{gdb_docdir} \
|
|
|
|
--pdfdir=%{gdb_docdir} \
|
2011-03-10 09:18:25 +00:00
|
|
|
--with-system-gdbinit=%{_sysconfdir}/gdbinit \
|
2010-03-12 00:40:02 +00:00
|
|
|
--with-gdb-datadir=%{_datadir}/gdb \
|
|
|
|
--enable-gdb-build-warnings=,-Wno-unused \
|
2019-06-05 12:50:01 +00:00
|
|
|
%ifnarch %{ix86} alpha ia64 ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 riscv64 aarch64
|
2010-03-12 00:40:02 +00:00
|
|
|
--disable-werror \
|
2013-01-11 14:55:20 +00:00
|
|
|
%else
|
2023-05-23 20:49:32 +00:00
|
|
|
%if %{suse_version} <= 1110 || %{suse_version} > 1500
|
2013-01-11 14:55:20 +00:00
|
|
|
--disable-werror \
|
2008-08-08 15:28:58 +00:00
|
|
|
%else
|
2010-03-12 00:40:02 +00:00
|
|
|
--enable-werror \
|
2013-01-11 14:55:20 +00:00
|
|
|
%endif
|
2008-08-08 15:28:58 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
--with-separate-debug-dir=/usr/lib/debug \
|
2024-02-01 07:32:03 +00:00
|
|
|
%if 0%{have_libdebuginfod}
|
|
|
|
--with-debuginfod=yes \
|
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
--disable-sim \
|
|
|
|
--disable-rpath \
|
2016-01-14 17:05:52 +00:00
|
|
|
--with-system-zlib \
|
2020-07-23 12:21:48 +00:00
|
|
|
%if %{suse_version} >= 1500
|
2012-06-16 04:55:29 +00:00
|
|
|
--with-system-readline \
|
|
|
|
%else
|
2011-08-11 13:47:36 +00:00
|
|
|
--without-system-readline \
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
--with-expat \
|
|
|
|
$(: ppc64 host build crashes on ppc variant of libexpat.so ) \
|
|
|
|
--without-libexpat-prefix \
|
|
|
|
--enable-tui \
|
2009-07-29 15:48:42 +00:00
|
|
|
%if 0%{!?_without_python:1}
|
2017-11-08 14:33:53 +00:00
|
|
|
--with-python=%{_bindir}/%{python} \
|
2009-07-29 15:48:42 +00:00
|
|
|
%else
|
2010-03-12 00:40:02 +00:00
|
|
|
--without-python \
|
2009-07-29 15:48:42 +00:00
|
|
|
%endif
|
2012-06-16 04:55:29 +00:00
|
|
|
%if %{suse_version} >= 1130
|
|
|
|
--with-rpm=$LIBRPM \
|
|
|
|
%else
|
2010-03-12 00:40:02 +00:00
|
|
|
--without-rpm \
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif
|
2006-12-18 23:16:31 +00:00
|
|
|
%ifarch ia64
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
--with-libunwind-ia64 \
|
2006-12-18 23:16:31 +00:00
|
|
|
%else
|
2010-03-12 00:40:02 +00:00
|
|
|
--without-libunwind \
|
2011-08-11 13:47:36 +00:00
|
|
|
%endif
|
|
|
|
%ifarch sparc sparcv9 sparc64
|
|
|
|
--without-mmap \
|
2006-12-18 23:16:31 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
--enable-64-bit-bfd \
|
2012-06-16 04:55:29 +00:00
|
|
|
%if %{have_inproctrace}
|
|
|
|
--enable-inprocess-agent \
|
|
|
|
%else
|
|
|
|
--disable-inprocess-agent \
|
2017-10-04 11:22:40 +00:00
|
|
|
%endif
|
|
|
|
%if %{have_libipt}
|
|
|
|
--with-intel-pt \
|
|
|
|
%else
|
|
|
|
--without-intel-pt \
|
2009-05-04 16:53:01 +00:00
|
|
|
%endif
|
2013-07-08 14:47:04 +00:00
|
|
|
--with-bugurl=http://bugs.opensuse.org/ \
|
|
|
|
--with-pkgversion="GDB; %{DIST}" \
|
2020-11-30 14:28:07 +00:00
|
|
|
$(: ia64 is obsolete. ) \
|
|
|
|
--enable-obsolete \
|
2013-07-08 14:47:04 +00:00
|
|
|
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
|
2011-08-11 13:47:36 +00:00
|
|
|
%ifarch sparc sparcv9
|
2013-07-08 14:47:04 +00:00
|
|
|
--build=sparc-%{_vendor}-%{_target_os}%{?_gnu}
|
2012-06-16 04:55:29 +00:00
|
|
|
%else
|
|
|
|
$(: It breaks RHEL-5 by %{_target_platform} being noarch-redhat-linux-gnu ) \
|
|
|
|
%ifarch noarch
|
|
|
|
$(:)
|
2009-05-04 16:53:01 +00:00
|
|
|
%else
|
2013-07-08 14:47:04 +00:00
|
|
|
--build=%{_target_platform}
|
2009-05-04 16:53:01 +00:00
|
|
|
%endif
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2010-09-06 11:08:41 +00:00
|
|
|
if [ -z "%{!?_with_profile:no}" ]
|
|
|
|
then
|
|
|
|
# Run all the configure tests being incompatible with $FPROFILE_CFLAGS.
|
|
|
|
make %{?_smp_mflags} configure-host configure-target
|
|
|
|
make %{?_smp_mflags} clean
|
|
|
|
|
|
|
|
# Workaround -fprofile-use:
|
|
|
|
# linux-x86-low.c:2225: Error: symbol `start_i386_goto' is already defined
|
|
|
|
make %{?_smp_mflags} -C gdb/gdbserver linux-x86-low.o
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Global CFLAGS would fail on:
|
|
|
|
# conftest.c:1:1: error: coverage mismatch for function 'main' while reading counter 'arcs'
|
|
|
|
if [ "$fprofile" = "-fprofile" ]
|
|
|
|
then
|
|
|
|
FPROFILE_CFLAGS='-fprofile-generate'
|
|
|
|
elif [ -z "%{!?_with_profile:no}" ]
|
|
|
|
then
|
|
|
|
FPROFILE_CFLAGS='-fprofile-use'
|
|
|
|
# We cannot use -fprofile-dir as the bare filenames clash.
|
|
|
|
(cd ../%{gdb_build}-fprofile;
|
|
|
|
# It was 333 on x86_64.
|
|
|
|
test $(find -name "*.gcda"|wc -l) -gt 300
|
|
|
|
find -name "*.gcda" | while read -r i
|
|
|
|
do
|
|
|
|
ln $i ../%{gdb_build}/$i
|
|
|
|
done
|
|
|
|
)
|
|
|
|
else
|
|
|
|
FPROFILE_CFLAGS=""
|
|
|
|
fi
|
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
# Prepare gdb/config.h first.
|
2018-09-11 13:49:10 +00:00
|
|
|
make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS $FPROFILE_CFLAGS" LDFLAGS="$LDFLAGS $FPROFILE_CFLAGS" maybe-configure-gdb
|
2012-06-16 04:55:29 +00:00
|
|
|
perl -i.relocatable -pe 's/^(D\[".*_RELOCATABLE"\]=" )1(")$/${1}0$2/' gdb/config.status
|
|
|
|
|
2018-09-11 13:49:10 +00:00
|
|
|
make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS $FPROFILE_CFLAGS" LDFLAGS="$LDFLAGS $FPROFILE_CFLAGS"
|
2010-09-06 11:08:41 +00:00
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
! grep '_RELOCATABLE.*1' gdb/config.h
|
|
|
|
|
2010-09-06 11:08:41 +00:00
|
|
|
if [ "$fprofile" = "-fprofile" ]
|
|
|
|
then
|
|
|
|
cd gdb
|
|
|
|
cp -p gdb gdb-withindex
|
|
|
|
PATH="$PWD:$PATH" sh ../../gdb/gdb-add-index $PWD/gdb-withindex
|
|
|
|
./gdb -nx -ex q ./gdb-withindex
|
|
|
|
./gdb -nx -readnow -ex q ./gdb-withindex
|
|
|
|
cd ..
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
done # fprofile
|
|
|
|
|
|
|
|
cd %{gdb_build}
|
|
|
|
|
2011-08-11 13:47:36 +00:00
|
|
|
#make %{?_smp_mflags} -C gdb/doc {gdb,annotate}{.info,/index.html,.pdf} MAKEHTMLFLAGS=--no-split
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Copy the <sourcetree>/gdb/NEWS file to the directory above it.
|
|
|
|
cp $RPM_BUILD_DIR/%{gdb_src}/gdb/NEWS $RPM_BUILD_DIR/%{gdb_src}
|
2008-03-06 00:01:27 +00:00
|
|
|
|
|
|
|
%check
|
2019-06-17 13:22:35 +00:00
|
|
|
# Initially we're in the %%{gdb_src} directory.
|
2009-05-04 16:53:01 +00:00
|
|
|
cd %{gdb_build}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if !%{build_testsuite}
|
2009-05-04 16:53:01 +00:00
|
|
|
echo ====================TESTSUITE DISABLED=========================
|
|
|
|
%else
|
|
|
|
echo ====================TESTING=========================
|
|
|
|
cd gdb
|
2017-05-01 02:01:32 +00:00
|
|
|
CC=gcc
|
|
|
|
CXX=g++
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
$CC -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
|
2009-05-04 16:53:01 +00:00
|
|
|
# Need to use a single --ignore option, second use overrides first.
|
|
|
|
# No `%{?_smp_mflags}' here as it may race.
|
|
|
|
# WARNING: can't generate a core file - core tests suppressed - check ulimit
|
|
|
|
# "readline-overflow.exp" - Testcase is broken, functionality is OK.
|
|
|
|
(
|
|
|
|
# ULIMIT required for `gdb.base/auxv.exp'.
|
|
|
|
ulimit -H -c
|
|
|
|
ulimit -c unlimited || :
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Setup $CHECK as `check//unix/' or `check//unix/-m64' for explicit bitsize.
|
|
|
|
# Never use two different bitsizes as it fails on ppc64.
|
|
|
|
echo 'int main (void) { return 0; }' >biarch.c
|
|
|
|
CHECK=""
|
|
|
|
for BI in -m64 -m32 -m31 ""
|
|
|
|
do
|
|
|
|
# Do not use size-less options if any of the sizes works.
|
|
|
|
# On ia64 there is no -m64 flag while we must not leave a bare `check' here
|
|
|
|
# as it would switch over some testing scripts to the backward compatibility
|
|
|
|
# mode: when `make check' was executed from inside the testsuite/ directory.
|
|
|
|
if [ -z "$BI" -a -n "$CHECK" ];then
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
# Do not use $RPM_OPT_FLAGS as the other non-size options will not be used
|
|
|
|
# in the real run of the testsuite.
|
2017-05-01 02:01:32 +00:00
|
|
|
if ! $CC $BI -o biarch biarch.c
|
2009-05-04 16:53:01 +00:00
|
|
|
then
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
CHECK="$CHECK check//unix/$BI"
|
|
|
|
done
|
|
|
|
# Do not try -m64 inferiors for -m32 GDB as it cannot handle inferiors larger
|
|
|
|
# than itself.
|
|
|
|
# s390 -m31 still uses the standard ELF32 binary format.
|
2017-05-01 02:01:32 +00:00
|
|
|
$CC $RPM_OPT_FLAGS -o biarch biarch.c
|
2009-05-04 16:53:01 +00:00
|
|
|
RPM_SIZE="$(file ./biarch|sed -n 's/^.*: ELF \(32\|64\)-bit .*$/\1/p')"
|
|
|
|
if [ "$RPM_SIZE" != "64" ]
|
|
|
|
then
|
|
|
|
CHECK="$(echo " $CHECK "|sed 's# check//unix/-m64 # #')"
|
|
|
|
fi
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Disable some problematic testcases.
|
|
|
|
# RUNTESTFLAGS='--ignore ...' is not used below as it gets separated by the
|
|
|
|
# `check//...' target spawn and too much escaping there would be dense.
|
Accepting request 927907 from home:tomdevries:branches:devel:gcc-gdb-gdb-11-1-update
- Maintenance scripts:
* Add KFAILs in qa.sh.
* Add missing '-a' in gdb.log greps in qa.sh.
- Disable big endian powerpc.
- Maintenance scripts:
* Fix patch filtering in clean.sh.
* Add KFAIL in qa.sh.
- Patches added:
* gdb-testsuite-add-checks-to-gdb.arch-i386-sse.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-kfail-in-gdb.threads-fork-plus-threads.exp.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-fail-in-gdb.threads-fork-and-threads.exp.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* gdb-testsuite-Fix-gdb.threads-thread-specific-bp.exp.patch
- Patches dropped:
* fix-gdb.threads-linux-dp.exp.patch
- Added maintenance script:
* qa.sh
- Drop 32bit packages for s390x.
- Fix SLE-15 s390x: unresolvable, nothing provides
glibc-devel-static-32bit.
- Disable test-case gdb.base/break-interp.exp for SLE-11.
It causes a
"glibc detected *** expect: double free or corruption (out)" in
expect and a subsequent runtest abort. This might be the cause
of the package build failure due to
"Job seems to be stuck here, killed. (after 8hrs of inactivity)"
- Patches added:
* gdb-testsuite-fix-gdb.base-step-over-syscall.exp-with-m32-amd-case.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-race-in-gdb.threads-detach-step-over.exp.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
- Rebase to 11.1 release (as in fedora 35 @ 9cd9368):
* GDB now supports general memory tagging functionality if the
underlying architecture supports the proper primitives and hooks.
Currently this is enabled only for AArch64 MTE.
* GDB will now look for the .gdbinit file in a config directory
before looking for ~/.gdbinit. The file is searched for in
the following locations: $XDG_CONFIG_HOME/gdb/gdbinit,
$HOME/.config/gdb/gdbinit, $HOME/.gdbinit.
* GDB will now load and process commands from
~/.config/gdb/gdbearlyinit or ~/.gdbearlyinit if these files
are present. These files are processed earlier than any of
the other initialization files and can affect parts of GDB's
startup that previously had already been completed before the
initialization files were read, for example styling of the
initial GDB greeting.
* GDB now has two new options "--early-init-command" and
"--early-init-eval-command" with corresponding short options
"-eix" and "-eiex" that allow options (that would normally
appear in a gdbearlyinit file) to be passed on the command
line.
* set startup-quietly on|off
show startup-quietly
When 'on', this causes GDB to act as if "-silent" were passed
on the command line. This command needs to be added to an
early initialization file (e.g. ~/.config/gdb/gdbearlyinit)
in order to affect GDB.
* For RISC-V targets, the target feature
"org.gnu.gdb.riscv.vector" is now understood by GDB, and can
be used to describe the vector registers of a target.
* TUI windows now support mouse actions. The mouse wheel
scrolls the appropriate window.
* Key combinations that do not have a specific action on the
focused window are passed to GDB. For example, you now can
use Ctrl-Left/Ctrl-Right to move between words in the command
window regardless of which window is in focus. Previously
you would need to focus on the command window for such key
combinations to work.
* set python ignore-environment on|off
show python ignore-environment
When 'on', this causes GDB's builtin Python to ignore any
environment variables that would otherwise affect how Python
behaves. This command needs to be added to an early
initialization file (e.g. ~/.config/gdb/gdbearlyinit) in
order to affect GDB.
* set python dont-write-bytecode auto|on|off
show python dont-write-bytecode
When 'on', this causes GDB's builtin Python to not write any
byte-code (.pyc files) to disk. This command needs to be
added to an early initialization file
(e.g. ~/.config/gdb/gdbearlyinit) in order to affect GDB.
When 'off' byte-code will always be written.
When set to 'auto' (the default) Python will check the
PYTHONDONTWRITEBYTECODE environment variable.
* break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM]
[-force-condition] [if CONDITION]
This command would previously refuse setting a breakpoint if
the CONDITION expression is invalid at a location. It now
accepts and defines the breakpoint if there is at least one
location at which the CONDITION is valid. The locations
for which the CONDITION is invalid, are automatically
disabled. If CONDITION is invalid at all of the locations,
setting the breakpoint is still rejected. However, the
'-force-condition' flag can be used in this case for forcing
GDB to define the breakpoint, making all the current
locations automatically disabled. This may be useful if the
user knows the condition will become meaningful at a future
location, e.g. due to a shared library load.
- Update libipt to v2.0.4. Dropped obsoleted patch:
* v1.5-libipt-static.patch
- Obsoleted fedora patches dropped:
* gdb-moribund-utrace-workaround.patch
* gdb-save-restore-file-offset-while-reading-notes-in-core-file.patch
* gdb-vla-intel-fix-print-char-array.patch
* gdb-vla-intel-fortran-strides.patch
* gdb-vla-intel-fortran-vla-strings.patch
* gdb-vla-intel-stringbt-fix.patch
* gdb-vla-intel-tests.patch
- Obsoleted fedora fixup patches dropped:
* fixup-2-gdb-archer-vla-tests.patch
* fixup-2-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-3-gdb-archer-vla-tests.patch
* fixup-gdb-6.3-test-pie-20050107.patch
* fixup-gdb-6.3-threaded-watchpoints2-20050225.patch
* fixup-gdb-6.5-sharedlibrary-path.patch
* fixup-gdb-6.8-bz442765-threaded-exec-test.patch
* fixup-gdb-archer-vla-tests.patch
* fixup-gdb-base-gnu-ifunc-strstr-workaround-exp.patch
* fixup-gdb-btrobust.patch
* fixup-gdb-bz634108-solib_address.patch
* fixup-gdb-dts-rhel6-python-compat.patch
* fixup-gdb-gnat-dwarf-crash-3of3.patch
* fixup-gdb-rhbz1156192-recursive-dlopen-test.patch
* fixup-gdb-test-ivy-bridge.patch
* fixup-gdb-vla-intel-fortran-vla-strings.patch
* fixup-gdb-vla-intel-tests.patch
- Obsoleted patches dropped:
* amd64-linux-siginfo-include-order.patch
* gdb-powerpc-remove-512-bytes-region-limit-if-2nd-dawr-is-avaliable.patch
* gdb-support-dw-lle-start-end.patch
* gdb-symtab-fix-infinite-recursion-in-dwarf2_cu-get_builder-again.patch
* gdb-symtab-fix-language-of-frame-without-debug-info.patch
* gdb-symtab-read-cu-base-address-for-enqueued-cu.patch
* gdb-symtab-use-early-continue-in-find_pc_sect_compunit.patch
* gdb-testsuite-catch-condition-evaluation-errors-in-gdb-assert.patch
* gdb-testsuite-detect-gdb-prompt-after-monitor-exit.patch
* gdb-testsuite-disable-selftests-for-factory.patch
* gdb-testsuite-fix-control-flow-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-fix-failure-in-gdb-base-step-over-no-symbols-exp.patch
* gdb-testsuite-fix-gdb-dlang-watch-loc-exp-on-ppc64.patch
* gdb-testsuite-fix-gdb-reverse-insn-reverse-x86-c-for-m32.patch
* gdb-testsuite-fix-gdb.arch-amd64-stap-three-arg-disp.s.patch
* gdb-testsuite-fix-unset-of-debuginfod_urls-in-default_gdb_init.patch
* gdb-testsuite-fix-xfail-handling-in-gdb.threads-gcore-thread.exp.patch
* gdb-testsuite-gdb-base-morestack-exp-no-clang.patch
* gdb-testsuite-gdb-tui-new-layout-exp-partly-require-tcl86.patch
* gdb-testsuite-handle-sigill-in-gdb-reverse-insn-reverse-exp.patch
* gdb-testsuite-ignore-debuginfod_urls.patch
* gdb-testsuite-prevent-pagination-in-gdb-internalflags.patch
* gdb-threads-fix-lin_thread_get_thread_signals-for-glibc-2.28.patch
* gdb-try-to-load-libthread_db-only-after-reading-all-shared-libraries-when-attaching.patch
* gdb-tui-fix-len_without_escapes-in-tui-disasm.c.patch
- Fedora patches updated:
* gdb-6.3-bz140532-ppc-unwinding-test.patch
* gdb-6.3-bz202689-exec-from-pthread-test.patch
* gdb-6.3-gstack-20050411.patch
* gdb-6.3-inheritancetest-20050726.patch
* gdb-6.3-mapping-zero-inode-test.patch
* gdb-6.3-test-dtorfix-20050121.patch
* gdb-6.3-test-movedir-20050125.patch
* gdb-6.3-threaded-watchpoints2-20050225.patch
* gdb-6.5-bz109921-DW_AT_decl_file-test.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
* gdb-6.5-bz243845-stale-testing-zombie-test.patch
* gdb-6.5-ia64-libunwind-leak-test.patch
* gdb-6.5-last-address-space-byte-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
* gdb-6.5-section-num-fixup-test.patch
* gdb-6.5-sharedlibrary-path.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-6.6-bz229517-gcore-without-terminal.patch
* gdb-6.6-bz230000-power6-disassembly-test.patch
* gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb-6.8-bz442765-threaded-exec-test.patch
* gdb-bz601887-dwarf4-rh-test.patch
* gdb-bz634108-solib_address.patch
* gdb-ccache-workaround.patch
* gdb-container-rh-pkg.patch
* gdb-fedora-libncursesw.patch
* gdb-fortran-frame-string.patch
* gdb-glibc-strstr-workaround.patch
* gdb-lineno-makeup-test.patch
* gdb-linux_perf-bundle.patch
* gdb-physname-pr11734-test.patch
* gdb-ppc-power7-test.patch
* gdb-rhbz1156192-recursive-dlopen-test.patch
* gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
* gdb-rhbz1350436-type-printers-error.patch
* gdb-rhbz1398387-tab-crash-test.patch
* gdb-test-dw2-aranges.patch
* gdb-test-ivy-bridge.patch
* gdb-test-pid0-core.patch
- Patches updated:
* gdb-fix-selftest-fails-with-gdb-build-with-O2-flto.patch
* gdb-gcore-bash.patch
- Fedora patches added:
* gdb-6.3-attach-see-vdso-test.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-6.5-gcore-buffer-limit-test.patch
* gdb-6.5-missed-trap-on-step-test.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-test-for-rhbz1976887.patch
- Fedora fixup patches added:
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-glibc-strstr-workaround.patch
* fixup-gdb-linux_perf-bundle.patch
* fixup-gdb-rhbz1325795-framefilters-test.patch
* fixup-gdb-rhbz1553104-s390x-arch12-test.patch
- Patches added:
* fix-gdb.mi-new-ui-mi-sync.exp.patch
* fix-gdb.threads-linux-dp.exp.patch
* gdb-add-index.sh-fix-bashism.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-python-finishbreakpoint-update.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-prevent-compilation-fails-with-unix-fpie-pie.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
- Fedora patches replaced:
* fixup-gdb-6.6-buildid-locate.patch
- Added maintenance scripts:
* import-patches.sh
* clean.sh
OBS-URL: https://build.opensuse.org/request/show/927907
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=289
2021-10-28 13:16:07 +00:00
|
|
|
DISABLE_TESTS=
|
|
|
|
DISABLE_TESTS="$DISABLE_TESTS gdb.base/bigcore.exp"
|
|
|
|
DISABLE_TESTS="$DISABLE_TESTS gdb.threads/attach-many-short-lived-threads.exp"
|
|
|
|
%if 0%{suse_version} == 1110
|
|
|
|
DISABLE_TESTS="$DISABLE_TESTS gdb.base/break-interp.exp"
|
|
|
|
%endif
|
|
|
|
for test in $DISABLE_TESTS; do
|
2016-02-29 19:38:18 +00:00
|
|
|
mv -f ../../gdb/testsuite/$test ../../gdb/testsuite/$test-DISABLED || :
|
2009-05-04 16:53:01 +00:00
|
|
|
done
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Run all the scheduled testsuite runs also in the PIE mode.
|
2012-06-16 04:55:29 +00:00
|
|
|
# See also: gdb-runtest-pie-override.exp
|
2018-11-26 15:24:47 +00:00
|
|
|
if rpm -q gcc-PIE; then
|
|
|
|
CHECK="$(echo $CHECK | sed 's#check//unix/[^ ]*#& &/-fno-PIE/-no-pie#g')"
|
|
|
|
else
|
|
|
|
CHECK="$(echo $CHECK | sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
|
|
|
|
fi
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2023-03-02 08:37:10 +00:00
|
|
|
%if %{with for_chroot}
|
|
|
|
# When we want to chroot into a local osc build and run a test-case, we
|
|
|
|
# need -M testsuite to add all the buildrequires, but there's no need
|
|
|
|
# to run the testsuite. Instead, fail %check to make sure %clean doesn't
|
|
|
|
# remove buildroot.
|
|
|
|
false
|
|
|
|
%else
|
|
|
|
./orphanripper make %{?_smp_mflags} -k $CHECK || :
|
|
|
|
%endif
|
2009-05-04 16:53:01 +00:00
|
|
|
)
|
|
|
|
for t in sum log
|
|
|
|
do
|
|
|
|
for file in testsuite*/gdb.$t
|
|
|
|
do
|
|
|
|
suffix="${file#testsuite.unix.}"
|
|
|
|
suffix="${suffix%/gdb.$t}"
|
|
|
|
ln $file gdb-%{_target_platform}$suffix.$t || :
|
|
|
|
done
|
|
|
|
done
|
|
|
|
# `tar | bzip2 | uuencode' may have some piping problems in Brew.
|
2019-06-17 13:22:35 +00:00
|
|
|
#tar cjf gdb-%%{_target_platform}.tar.bz2 gdb-%%{_target_platform}*.{sum,log}
|
|
|
|
#uuencode gdb-%%{_target_platform}.tar.bz2 gdb-%%{_target_platform}.tar.bz2
|
2015-02-27 11:10:44 +00:00
|
|
|
# Strip dates and completion times from the log to make build-compare happy
|
|
|
|
sed -i -e '/Test Run By abuild on/d' -e 's/completed in [0-9]* seconds//' *.{sum,log}
|
2009-05-04 16:53:01 +00:00
|
|
|
cd ../..
|
|
|
|
echo ====================TESTING END=====================
|
|
|
|
%endif
|
2006-12-18 23:16:31 +00:00
|
|
|
|
|
|
|
%install
|
2019-06-17 13:22:35 +00:00
|
|
|
# Initially we're in the %%{gdb_src} directory.
|
2009-05-04 16:53:01 +00:00
|
|
|
cd %{gdb_build}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
# It would break RHEL-5 by leaving excessive files for the doc subpackage.
|
|
|
|
%ifnarch noarch
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2011-03-10 09:18:25 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
|
2012-06-16 04:55:29 +00:00
|
|
|
touch -r %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
|
2019-07-04 07:16:27 +00:00
|
|
|
|
|
|
|
%if 0%{!?_without_python:1}
|
2011-03-10 09:18:25 +00:00
|
|
|
sed 's#%%{_sysconfdir}#%{_sysconfdir}#g' <%{SOURCE4} >$RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
|
2012-06-16 04:55:29 +00:00
|
|
|
touch -r %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
|
2019-07-04 07:16:27 +00:00
|
|
|
%else
|
|
|
|
sed 's#%%{_sysconfdir}#%{_sysconfdir}#g' <%{SOURCE5} >$RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
|
|
|
|
touch -r %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
|
|
|
|
%endif
|
2011-03-10 09:18:25 +00:00
|
|
|
|
|
|
|
for i in `find $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb -name "*.py"`
|
|
|
|
do
|
|
|
|
# Files could be also patched getting the current time.
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
touch -r $RPM_BUILD_DIR/%{gdb_src}/gdb/version.in $i
|
2011-03-10 09:18:25 +00:00
|
|
|
done
|
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
%if 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/debug%{_bindir}
|
|
|
|
cp -p $RPM_BUILD_DIR/%{gdb_src}/gdb/gdb-gdb.py $RPM_BUILD_ROOT/usr/lib/debug%{_bindir}/
|
|
|
|
for pyo in "" "-O";do
|
|
|
|
# RHEL-5: AttributeError: 'module' object has no attribute 'compile_file'
|
2017-11-08 14:33:53 +00:00
|
|
|
%{python} $pyo -c 'import compileall, re, sys; sys.exit (not compileall.compile_dir("'"$RPM_BUILD_ROOT/usr/lib/debug%{_bindir}"'", 1, "'"/usr/lib/debug%{_bindir}"'"))'
|
2012-06-16 04:55:29 +00:00
|
|
|
done
|
|
|
|
%endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1}
|
|
|
|
|
2013-07-08 14:47:04 +00:00
|
|
|
mkdir $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load
|
2012-06-16 04:55:29 +00:00
|
|
|
%if 0%{?rhel:1} && 0%{?rhel} <= 6
|
2011-03-10 09:18:25 +00:00
|
|
|
%if 0%{!?_without_python:1}
|
|
|
|
# Temporarily now:
|
|
|
|
for LIB in lib lib64;do
|
2012-06-16 04:55:29 +00:00
|
|
|
LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_root_prefix}/$LIB"
|
2011-03-10 09:18:25 +00:00
|
|
|
mkdir -p $LIBPATH
|
|
|
|
# basename is being run only for the native (non-biarch) file.
|
|
|
|
sed -e 's,@pythondir@,%{_datadir}/gdb/python,' \
|
2012-06-16 04:55:29 +00:00
|
|
|
-e 's,@toolexeclibdir@,%{_root_prefix}/'"$LIB," \
|
2011-03-10 09:18:25 +00:00
|
|
|
< $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/hook.in \
|
2012-06-16 04:55:29 +00:00
|
|
|
> $LIBPATH/$(basename %{_root_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
|
|
|
|
# Test the filename 'libstdc++.so.6.*' has matched.
|
|
|
|
test -f $LIBPATH/libstdc++.so.6.[0-9]*-gdb.py
|
2011-03-10 09:18:25 +00:00
|
|
|
done
|
|
|
|
test ! -e $RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
|
|
|
|
cp -a $RPM_BUILD_DIR/%{gdb_src}/%{libstdcxxpython}/libstdcxx \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/gdb/python/libstdcxx
|
2012-06-16 04:55:29 +00:00
|
|
|
for i in `find $RPM_BUILD_ROOT%{_datadir}/gdb/python -name "*.py"` \
|
|
|
|
`find $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix} -name "*.py"` \
|
|
|
|
; do
|
|
|
|
# Files come from gdb-archer.patch and can be also further patched.
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
touch -r $RPM_BUILD_DIR/%{gdb_src}/gdb/version.in $i
|
2012-06-16 04:55:29 +00:00
|
|
|
done
|
2011-03-10 09:18:25 +00:00
|
|
|
%endif # 0%{!?_without_python:1}
|
2012-06-16 04:55:29 +00:00
|
|
|
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# Remove the files that are part of a gdb build but that are owned and
|
|
|
|
# provided by other packages.
|
|
|
|
# These are part of binutils
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/bfd*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/standard*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
|
2023-06-16 09:35:32 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/sframe-spec*
|
2009-05-04 16:53:01 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_includedir}
|
2023-06-16 09:35:32 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib{bfd*,opcodes*,iberty*,ctf*,sframe*}
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_testsuite}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/gdb
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_infodir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/src
|
|
|
|
%endif
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# pstack obsoletion
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2009-05-04 16:53:01 +00:00
|
|
|
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2009-05-04 16:53:01 +00:00
|
|
|
%endif # 0%{!?_with_upstream:1}
|
2006-12-18 23:16:31 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2011-08-11 13:47:36 +00:00
|
|
|
# Packaged GDB is not a cross-target one.
|
|
|
|
(cd $RPM_BUILD_ROOT%{_datadir}/gdb/syscalls
|
|
|
|
rm -f mips*.xml
|
|
|
|
%ifnarch sparc sparcv9 sparc64
|
|
|
|
rm -f sparc*.xml
|
|
|
|
%endif
|
|
|
|
%ifnarch x86_64
|
|
|
|
rm -f amd64-linux.xml
|
|
|
|
%endif
|
|
|
|
%ifnarch %{ix86} x86_64
|
|
|
|
rm -f i386-linux.xml
|
|
|
|
%endif
|
|
|
|
%ifnarch ppc ppc64
|
|
|
|
rm -f ppc{,64}-linux.xml
|
|
|
|
%endif
|
2013-12-09 15:56:11 +00:00
|
|
|
%ifnarch ppc64le
|
|
|
|
rm -f ppc64le-linux.xml
|
|
|
|
%endif
|
2011-08-11 13:47:36 +00:00
|
|
|
)
|
|
|
|
|
2012-06-16 04:55:29 +00:00
|
|
|
# It would break RHEL-5 by leaving excessive files for the doc subpackage.
|
|
|
|
%if 0%{?el5:1}
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/annotate.info*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/gdb.info*
|
2021-02-16 07:12:59 +00:00
|
|
|
%endif # 0%{?el5:1}
|
2012-06-16 04:55:29 +00:00
|
|
|
# -j1: There is some race resulting in:
|
|
|
|
# /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting.
|
|
|
|
make -j1 -C gdb/doc install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Documentation only for development; keep 'rm's here after "noarch" above.
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/gdbint*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/stabs*
|
Accepting request 991863 from home:tomdevries:branches:devel:gcc-gdb-gdb-12-1-update
- Maintenance script qa.sh:
* Add SLE-12/x86_64 to "known clean configs".
* Add fail for PR29405.
* Add fail for PR26915.
- Patches added:
* gdb-testsuite-fix-gdb.threads-killed-outside.exp-on-aarch64.patch
- Maintenance script qa.sh:
* Remove PR29247 internal-error.
* Add SLE-15/aarch64 to "known clean configs".
- Patches added:
* gdb-fix-watchpoints-triggered.patch
- Maintenance script qa.sh:
* Add kfails for PR25038, PR29253, and PR29423.
* Remove gdb.mi/mi-var-invalidate-shlib.exp kfails.
- Mention qa-local.sh, qa-remote.sh and README.qa as sources.
- Maintenance script qa-local.sh:
* Use have_combo consistently.
- Maintenance script qa.sh:
* Add kfail_aarch64.
* Add PR29419/PR29409 kfails.
* Update PR29247 kfails.
- Patches added:
* make-gdb.ada-float-bits.exp-more-generic.patch
* gdb-testsuite-fix-gdb.ada-literals.exp-with-aarch64.patch
- Actually apply fixup-gdb-test-bt-cfi-without-die.patch and
fixup-2-gdb-rhbz1553104-s390x-arch12-test.patch.
- Also remove gdb-6.5-readline-long-line-crash-test.patch from
patches list in gdb.spec.
- Patches added:
* powerpc-add-support-for-ieee-128-bit-format.patch
* powerpc-correct-the-gdb-ioctl-values-for-tcgets-tcsets-tcsetsw-and-tcsetsf.patch
* gdb-testsuite-remove-target-limits-in-gdb.base-catch-syscall.exp.patch
* powerpc-fix-for-gdb.base-eh_return.exp.patch
* fix-comparison-of-unsigned-long-int-to-int-in-record_linux_system_call.patch
* gdb-testsuite-fix-gdb.reverse-test_ioctl_tcsetsw.exp-with-libc-debuginfo.patch
* fixup-gdb-test-bt-cfi-without-die.patch
* fix-core-file-detach-crash-corefiles-29275.patch
* gdb-testsuite-fix-gdb.dwarf2-dw2-out-of-range-end-of-seq.exp-on-aarch64.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-without-enable-targets.patch
* gdb-testsuite-fix-gdb.base-catch-syscall.exp-with-with-expat-no.patch
* fix-for-gdb.base-solib-search.exp-test.patch
- Patch removed:
* gdb-6.7-ppc-clobbered-registers-O2-test.patch
* gdb-6.5-readline-long-line-crash-test.patch
- Patches updated:
* gdb-tdep-update-syscalls-ppc64-ppc-linux.xml.patch
* gdb-testsuite-handle-pipe2-syscall-in-gdb.base-catch-syscall.exp.patch
- Maintenance script qa.sh:
* Add PR28504 KFAILs.
* Make .sum file matching less complex.
* Add fedora test-case kfail.
- Maintenance script qa-local.sh:
* Fix incorrect path name.
- Update comments in gdb.spec.
- Patches added:
* powerpc-update-expected-floating-point-output-for-gdb.arch-altivec-regs.exp-and-gdb.arch-vsx-regs.exp.patch
- Patches updated:
* gdb-testsuite-support-recording-of-getrandom.patch
(add aarch64 part)
- Maintenance script qa.sh:
* Add i586 to known clean configs.
- Patches added:
* gdb-testsuite-enable-some-test-cases-for-x86_64-m32.patch
* gdb-testsuite-fix-gdb.reverse-i387-env-reverse.exp-for-pie.patch
* gdb-testsuite-support-recording-of-getrandom.patch
- Patches updated:
* gdb-record-handle-statx-system-call.patch
- Maintenance script qa.sh:
* Allow only two summary files, for i586.
* Add i586 KFAILs.
- Maintenance script qa-local.sh:
* Add i586.
- Maintenance script qa-local.sh:
* Fix rpm pathname.
- Maintenance script qa-remote.sh:
* Skip stale config openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Drop known clean config: Leap 15.2 x86_64.
- Maintenance script qa-local.sh:
* Add cleanup step.
* Add "build all configs without testsuite" step.
* For "build all configs with testsuite" step, redirect output
to log and produce PASS/FAIL line, and make sure buildroot is
removed also in case of missing rpm.
* Use "--clean --trust-all-projects" for osc build commands.
* Drop openSUSE_Leap_15.2.
- Maintenance script qa.sh:
* Rename argument 6 to -local.
* Add PR29247 KFAILs.
* Update internal-error regexps.
- New maintenance script qa-remote.sh.
- Add "build all configs without testsuite" step in README.qa.
- Patches added (backport from trunk):
* gdb-testsuite-remove-attach-test-from-can_spawn_for_attach.patch
- README.qa:
* Add remote qa entry.
* Update local qa entry:
* Add notes entry.
* Other updates to match changes in qa-local.sh.
- Fix installed but unpackaged /usr/share/info/ctf-spec.info.gz.
- Rebase to 12.1 release (as in fedora 36 @ 89947a7):
* DBX mode is deprecated, and will be removed in GDB 13.
* GDB 12 is the last release of GDB that will support building against
Python 2. From GDB 13, it will only be possible to build GDB itself
with Python 3 support.
* Improved C++ template support:
GDB now treats functions/types involving C++ templates like it does function
overloads. Users may omit parameter lists to set breakpoints on families of
template functions, including types/functions composed of multiple template types:
(gdb) break template_func(template_1, int)
The above will set breakpoints at every function `template_func' where
the first function parameter is any template type named `template_1' and
the second function parameter is `int'.
TAB completion also gains similar improvements.
* New commands:
maint set backtrace-on-fatal-signal on|off
maint show backtrace-on-fatal-signal
This setting is 'on' by default. When 'on' GDB will print a limited
backtrace to stderr in the situation where GDB terminates with a
fatal signal. This only supported on some platforms where the
backtrace and backtrace_symbols_fd functions are available.
set source open on|off
show source open
This setting, which is on by default, controls whether GDB will try
to open source code files. Switching this off will stop GDB trying
to open and read source code files, which can be useful if the files
are located over a slow network connection.
set varsize-limit
show varsize-limit
These are now deprecated aliases for "set max-value-size" and
"show max-value-size".
task apply [all | TASK-IDS...] [FLAG]... COMMAND
Like "thread apply", but applies COMMAND to Ada tasks.
watch [...] task ID
Watchpoints can now be restricted to a specific Ada task.
maint set internal-error backtrace on|off
maint show internal-error backtrace
maint set internal-warning backtrace on|off
maint show internal-warning backtrace
GDB can now print a backtrace of itself when it encounters either an
internal-error, or an internal-warning. This is on by default for
internal-error and off by default for internal-warning.
set logging on|off
Deprecated and replaced by "set logging enabled on|off".
set logging enabled on|off
show logging enabled
These commands set or show whether logging is enabled or disabled.
exit
You can now exit GDB by using the new command "exit", in addition to
the existing "quit" command.
set debug threads on|off
show debug threads
Print additional debug messages about thread creation and deletion.
set debug linux-nat on|off
show debug linux-nat
These new commands replaced the old 'set debug lin-lwp' and 'show
debug lin-lwp' respectively. Turning this setting on prints debug
messages relating to GDB's handling of native Linux inferiors.
maint flush source-cache
Flush the contents of the source code cache.
maint set gnu-source-highlight enabled on|off
maint show gnu-source-highlight enabled
Whether GDB should use the GNU Source Highlight library for adding
styling to source code. When off, the library will not be used, even
when available. When GNU Source Highlight isn't used, or can't add
styling to a particular source file, then the Python Pygments
library will be used instead.
set suppress-cli-notifications (on|off)
show suppress-cli-notifications
This controls whether printing the notifications is suppressed for CLI.
CLI notifications occur when you change the selected context
(i.e., the current inferior, thread and/or the frame), or when
the program being debugged stops (e.g., because of hitting a
breakpoint, completing source-stepping, an interrupt, etc.).
set style disassembler enabled on|off
show style disassembler enabled
If GDB is compiled with Python support, and the Python Pygments
package is available, then, when this setting is on, disassembler
output will have styling applied.
set ada source-charset
show ada source-charset
Set the character set encoding that is assumed for Ada symbols. Valid
values for this follow the values that can be passed to the GNAT
compiler via the '-gnati' option. The default is ISO-8859-1.
* Changed commands:
print
Printing of floating-point values with base-modifying formats like
/x has been changed to display the underlying bytes of the value in
the desired base. This was GDB's documented behavior, but was never
implemented correctly.
maint packet
This command can now print a reply, if the reply includes
non-printable characters. Any non-printable characters are printed
as escaped hex, e.g. \x?? where '??' is replaces with the value of
the non-printable character.
clone-inferior
The clone-inferior command now ensures that the TTY, CMD and ARGS
settings are copied from the original inferior to the new one.
All modifications to the environment variables done using the 'set
environment' or 'unset environment' commands are also copied to the new
inferior.
set debug lin-lwp on|off
show debug lin-lwp
These commands have been removed from GDB. The new command 'set
debug linux-nat' and 'show debug linux-nat' should be used
instead.
info win
This command now includes information about the width of the tui
windows in its output.
* GDB's Ada parser now supports an extension for specifying the exact
byte contents of a floating-point literal. This can be useful for
setting floating-point registers to a precise value without loss of
precision. The syntax is an extension of the based literal syntax.
Use, e.g., "16lf#0123abcd#" -- the number of "l"s controls the width
of the floating-point type, and the "f" is the marker for floating
point.
* MI changes:
** The '-add-inferior' with no option flags now inherits the
connection of the current inferior, this restores the behaviour of
GDB as it was prior to GDB 10.
** The '-add-inferior' command now accepts a '--no-connection'
option, which causes the new inferior to start without a
connection.
* Python API:
** New function gdb.add_history(), which takes a gdb.Value object
and adds the value it represents to GDB's history list. An
integer, the index of the new item in the history list, is
returned.
** New function gdb.history_count(), which returns the number of
values in GDB's value history.
** New gdb.events.gdb_exiting event. This event is called with a
gdb.GdbExitingEvent object which has the read-only attribute
'exit_code', which contains the value of the GDB exit code. This
event is triggered once GDB decides it is going to exit, but
before GDB starts to clean up its internal state.
** New function gdb.architecture_names(), which returns a list
containing all of the possible Architecture.name() values. Each
entry is a string.
** New function gdb.Architecture.integer_type(), which returns an
integer type given a size and a signed-ness.
** New gdb.TargetConnection object type that represents a connection
(as displayed by the 'info connections' command). A sub-class,
gdb.RemoteTargetConnection, is used to represent 'remote' and
'extended-remote' connections.
** The gdb.Inferior type now has a 'connection' property which is an
instance of gdb.TargetConnection, the connection used by this
inferior. This can be None if the inferior has no connection.
** New 'gdb.events.connection_removed' event registry, which emits a
'gdb.ConnectionEvent' when a connection is removed from GDB.
This event has a 'connection' property, a gdb.TargetConnection
object for the connection being removed.
** New gdb.connections() function that returns a list of all
currently active connections.
** New gdb.RemoteTargetConnection.send_packet(PACKET) method. This
is equivalent to the existing 'maint packet' CLI command; it
allows a user specified packet to be sent to the remote target.
** New function gdb.host_charset(), returns a string, which is the
name of the current host charset.
** New gdb.set_parameter(NAME, VALUE). This sets the gdb parameter
NAME to VALUE.
** New gdb.with_parameter(NAME, VALUE). This returns a context
manager that temporarily sets the gdb parameter NAME to VALUE,
then resets it when the context is exited.
** The gdb.Value.format_string method now takes a 'styling'
argument, which is a boolean. When true, the returned string can
include escape sequences to apply styling. The styling will only
be present if styling is otherwise turned on in GDB (see 'help
set styling'). When false, which is the default if the argument
is not given, then no styling is applied to the returned string.
** New read-only attribute gdb.InferiorThread.details, which is
either a string, containing additional, target specific thread
state information, or None, if there is no such additional
information.
** New read-only attribute gdb.Type.is_scalar, which is True for
scalar types, and False for all other types.
** New read-only attribute gdb.Type.is_signed. This attribute
should only be read when Type.is_scalar is True, and will be True
for signed types, and False for all other types. Attempting to
read this attribute for non-scalar types will raise a ValueError.
** It is now possible to add GDB/MI commands implemented in Python.
- Update libipt to v2.0.5.
- Patches added:
* gdb-6.3-rh-testversion-20041202.patch
* gdb-6.5-BEA-testsuite.patch
* gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
* gdb-6.7-charsign-test.patch
* gdb-6.8-bz466901-backtrace-full-prelinked.patch
* gdb-fix-for-gdb.base-eof-exit.exp-test-failures.patch
* gdb-improved-eof-handling-when-using-readline-7.patch
* gdb-libexec-add-index.patch
* gdb-tdep-detect-get_pc_thunk-call-in-i386-prologue.patch
* gdb-testsuite-address-test-failures-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-detect-change-instead-of-init-in-gdb.mi-mi-var-block.exp.patch
* gdb-testsuite-fix-gdb.opt-clobbered-registers-o2.exp-with-gcc-12.patch
* gdb-testsuite-fix-occasional-failure-in-gdb.mi-mi-multi-commands.exp.patch
* gdb-testsuite-fix-test-failure-when-building-against-readline-v7.patch
* gdb-testsuite-handle-older-python-in-gdb.python-py-send-packet.py.patch
* gdb-testsuite-handle-quotes-in-gdb_py_module_available.patch
* gdb-testsuite-handle-unordered-dict-in-gdb.python-py-mi-cmd.exp.patch
* gdb-testsuite-skip-gdb.fortran-namelist.exp-for-gfortran-4.8.patch
* gdb-testsuite-workaround-unnecessary-.s-file-with-gfortran-4.8.patch
- Patches dropped:
* aarch64-make-gdbserver-register-set-selection-dynamic.patch
* fix-build-with-current-gcc-el_explicit-location-always-non-null.patch
* fix-gdb.base-sigstep.exp-test-for-ppc.patch
* fix-gdb.multi-multi-term-settings.exp-race.patch
* fixup-2-gdb-6.6-buildid-locate.patch
* fixup-gdb-6.6-buildid-locate.patch
* gdb-6.3-inferior-notification-20050721.patch
* gdb-ada-fix-assert-in-ada_is_unconstrained_packed_array_type.patch
* gdb-build-add-cxx_dialect-to-cxx.patch
* gdb-build-make-c-exp.y-work-with-bison-3.8.patch
* gdb-doc-fix-print-inferior-events-default.patch
* gdb-exp-improve-error-reading-variable-message.patch
* gdb-fortran-handle-dw-at-string-length-with-loclistptr.patch
* gdb-r_version-check.patch
* gdb-rhbz1976887-field-location-kind.patch
* gdb-rhbz2012976-paper-over-fortran-lex-problems.patch
* gdb-symtab-add-call_site_eq-and-call_site_hash.patch
* gdb-symtab-c-ify-call_site.patch
* gdb-symtab-fix-htab_find_slot-call-in-read_call_site_scope.patch
* gdb-symtab-fix-segfault-in-search_one_symtab.patch
* gdb-symtab-remove-compunit_call_site_htab.patch
* gdb-symtab-use-unrelocated-addresses-in-call_site.patch
* gdb-tdep-fix-avx512-m32-support-in-gdbserver.patch
* gdb-tdep-rs6000-don-t-skip-system-call-in-skip_prologue.patch
* gdb-test-for-rhbz1976887.patch
* gdb-testsuite-add-gdb.arch-ppc64-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.opt-break-on-_exit.exp.patch
* gdb-testsuite-add-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-add-missing-wait-in-gdb.base-signals-state-child.exp.patch
* gdb-testsuite-add-nopie-in-two-test-cases.patch
* gdb-testsuite-detect-no-mpx-support.patch
* gdb-testsuite-disable-inferior-output-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-don-t-error-when-trying-to-unset-last_spawn_tty_name.patch
* gdb-testsuite-factor-out-dump_info-in-gdb.testsuite-dump-system-info.exp.patch
* gdb-testsuite-fix-assembly-comments-in-gdb.dwarf2-clang-debug-names.exp.tcl.patch
* gdb-testsuite-fix-data-alignment-in-gdb.arch-i386-avx-sse-.exp.patch
* gdb-testsuite-fix-fail-in-gdb.base-annota1.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-basic.exp.patch
* gdb-testsuite-fix-fail-in-gdb.tui-corefile-run.exp.patch
* gdb-testsuite-fix-gdb.ada-big_packed_array.exp-xfail-for-m32.patch
* gdb-testsuite-fix-gdb.arch-i386-pkru.exp-on-linux.patch
* gdb-testsuite-fix-gdb.base-annota1.exp-with-pie.patch
* gdb-testsuite-fix-gdb.base-dcache-flush.exp.patch
* gdb-testsuite-fix-gdb.gdb-selftest.exp.patch
* gdb-testsuite-fix-gdb.guile-scm-type.exp-with-gcc-4.8.patch
* gdb-testsuite-fix-gdb.python-py-events.exp.patch
* gdb-testsuite-fix-gdb.server-server-kill.exp-with-m32.patch
* gdb-testsuite-fix-gdb.threads-check-libthread-db.exp-with-glibc-2.34.patch
* gdb-testsuite-fix-gdb.threads-linux-dp.exp.patch
* gdb-testsuite-fix-gdb.threads-thread-specific-bp.exp.patch
* gdb-testsuite-fix-port-detection-in-gdb.debuginfod-fetch_src_and_symbols.exp.patch
* gdb-testsuite-fix-regexp-in-gdb.base-foll-vfork.exp.patch
* gdb-testsuite-fix-stepi-test-cases-with-unix-m32-fpie-pie.patch
* gdb-testsuite-handle-recursive-internal-problem-in-gdb_internal_error_resync.patch
* gdb-testsuite-handle-runto-fail-in-gdb.mi-mi-var-cp.exp.patch
* gdb-testsuite-handle-sigill-in-two-gdb.arch-powerpc-test-cases.patch
* gdb-testsuite-handle-supports_memtag-in-gdb.base-gdb-caching-proc.exp.patch
* gdb-testsuite-make-gdb.base-annota1.exp-more-robust.patch
* gdb-testsuite-refactor-regexp-in-gdb.base-annota1.exp.patch
* gdb-testsuite-support-fpie-fno-pie-pie-no-pie-in-gdb_compile_rust.patch
* gdb-testsuite-update-test-gdb.base-step-over-syscall.exp.patch
* gdb-testsuite-use-compiler-generated-instead-of-gas-generated-stabs.patch
* gdb-tui-fix-breakpoint-display-functionality.patch
* ibm-z-add-another-arch14-instruction.patch
* ibm-z-remove-lpswey-parameter.patch
- Patched updated:
* gdb-6.3-gstack-20050411.patch
* gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
* gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
* gdb-6.6-buildid-locate-rpm-scl.patch
* gdb-6.6-buildid-locate-rpm.patch
* gdb-6.6-buildid-locate-solib-missing-ids.patch
* gdb-6.6-buildid-locate.patch
* gdb-cli-add-ignore-errors-command.patch
* gdb-container-rh-pkg.patch
* gdb-core-open-vdso-warning.patch
* gdb-fedora-libncursesw.patch
* gdb-gcore-bash.patch
* gdb-linux_perf-bundle.patch
* gdb-testsuite-handle-init-errors-in-gdb.mi-user-selected-context-sync.exp.patch
- Add BuildRequires python-xml.
- Maintenance script qa.sh:
* Add -sle-12 and -factory options.
* Handle *.-fPIE.-pie.sum files.
* Add KFAILs for PRs 26292, 29238, 25059, 29240, 29241, 29244,
29245, 29160, 29196.
* Move PR27539 KFAILs from kfail_factory to kfail.
- New maintenance script qa-local.sh.
- New file README.qa.
OBS-URL: https://build.opensuse.org/request/show/991863
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=325
2022-07-31 08:10:33 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/ctf-spec*
|
2012-06-16 04:55:29 +00:00
|
|
|
|
|
|
|
# Delete this too because the dir file will be updated at rpm install time.
|
|
|
|
# We don't want a gdb specific one overwriting the system wide one.
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2019-06-17 13:22:35 +00:00
|
|
|
|
2006-12-18 23:16:31 +00:00
|
|
|
%post
|
2009-05-04 16:53:01 +00:00
|
|
|
# This step is part of the installation of the RPM. Not to be confused
|
|
|
|
# with the 'make install ' of the build (rpmbuild) process.
|
2006-12-18 23:16:31 +00:00
|
|
|
|
2010-03-12 00:40:02 +00:00
|
|
|
# For --excludedocs:
|
|
|
|
if [ -e %{_infodir}/gdb.info.gz ]
|
|
|
|
then
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]
|
|
|
|
then
|
|
|
|
# For --excludedocs:
|
|
|
|
if [ -e %{_infodir}/gdb.info.gz ]
|
|
|
|
then
|
|
|
|
%install_info_delete --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz
|
|
|
|
%install_info_delete --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz
|
|
|
|
fi
|
|
|
|
fi
|
2006-12-18 23:16:31 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2006-12-18 23:16:31 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-09-11 13:50:50 +00:00
|
|
|
%doc README NEWS
|
2018-09-11 15:01:08 +00:00
|
|
|
%if 0%{suse_version} >= 1320
|
2018-09-11 13:50:50 +00:00
|
|
|
%license COPYING3 COPYING COPYING.LIB
|
2018-09-11 15:01:08 +00:00
|
|
|
%else
|
|
|
|
%doc COPYING3 COPYING COPYING.LIB
|
|
|
|
%endif
|
2009-05-04 16:53:01 +00:00
|
|
|
%{_bindir}/gcore
|
2014-02-10 17:23:45 +00:00
|
|
|
%{_mandir}/*/gcore.1*
|
2006-12-18 23:16:31 +00:00
|
|
|
%{_bindir}/gdb
|
2012-06-16 04:55:29 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/gdbinit
|
2011-03-10 09:18:25 +00:00
|
|
|
%{_sysconfdir}/gdbinit.d
|
2009-05-04 16:53:01 +00:00
|
|
|
%{_mandir}/*/gdb.1*
|
2006-12-18 23:16:31 +00:00
|
|
|
%{_bindir}/gstack
|
2009-05-04 16:53:01 +00:00
|
|
|
%{_mandir}/*/gstack.1*
|
2011-03-10 09:18:25 +00:00
|
|
|
%{_bindir}/gdb-add-index
|
2014-02-10 17:23:45 +00:00
|
|
|
%{_mandir}/*/gdb-add-index.1*
|
|
|
|
%{_mandir}/*/gdbinit.5*
|
2009-09-26 22:03:42 +00:00
|
|
|
%{_datadir}/gdb
|
2009-05-04 16:53:01 +00:00
|
|
|
%{_infodir}/annotate.info*
|
|
|
|
%{_infodir}/gdb.info*
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_testsuite}
|
|
|
|
%files
|
2014-08-15 09:38:59 +00:00
|
|
|
%defattr(-,root,root)
|
2014-08-13 11:27:24 +00:00
|
|
|
%doc %{gdb_build}/gdb/gdb-*.sum
|
|
|
|
%doc %{gdb_build}/gdb/gdb-*.log
|
|
|
|
%endif
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
# don't include the files in include, they are part of binutils
|
2010-03-12 00:40:02 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2020-11-30 14:28:07 +00:00
|
|
|
%ifnarch sparcv9 hppa
|
2008-05-09 22:02:58 +00:00
|
|
|
%files -n gdbserver
|
|
|
|
%defattr(-,root,root)
|
2006-12-18 23:16:31 +00:00
|
|
|
%{_bindir}/gdbserver
|
2009-05-04 16:53:01 +00:00
|
|
|
%{_mandir}/*/gdbserver.1*
|
2012-06-16 04:55:29 +00:00
|
|
|
%if %{have_inproctrace}
|
2010-09-06 11:08:41 +00:00
|
|
|
%{_libdir}/libinproctrace.so
|
2019-06-17 13:22:35 +00:00
|
|
|
%endif # %%{have_inproctrace}
|
2010-09-06 11:08:41 +00:00
|
|
|
%endif
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2012-06-16 04:55:29 +00:00
|
|
|
|
2020-08-06 12:58:28 +00:00
|
|
|
%if %{build_main}
|
2012-06-16 04:55:29 +00:00
|
|
|
%post doc
|
|
|
|
# This step is part of the installation of the RPM. Not to be confused
|
|
|
|
# with the 'make install ' of the build (rpmbuild) process.
|
|
|
|
|
|
|
|
# For --excludedocs:
|
|
|
|
if [ -e %{_infodir}/gdb.info.gz ]
|
|
|
|
then
|
|
|
|
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
|
|
|
|
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun doc
|
|
|
|
if [ $1 = 0 ]
|
|
|
|
then
|
|
|
|
# For --excludedocs:
|
|
|
|
if [ -e %{_infodir}/gdb.info.gz ]
|
|
|
|
then
|
|
|
|
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/annotate.info.gz || :
|
|
|
|
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gdb.info.gz || :
|
|
|
|
fi
|
|
|
|
fi
|
2020-08-06 12:58:28 +00:00
|
|
|
%endif
|
2012-06-16 04:55:29 +00:00
|
|
|
|
2007-03-06 08:04:12 +00:00
|
|
|
%changelog
|