240 Commits

Author SHA256 Message Date
Michael Matz
3b05db1061 - Implements jsc#ECO-368, the 2019 toolchain module update
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=222
2019-09-10 15:36:15 +00:00
Michael Matz
d9daa262a4 Accepting request 726802 from home:tomdevries:branches:devel:gcc-librpm
- Enable librpm for version > librpm.so.3 [bsc#1145692]:
  * Allow any librpm.so.x
  * Fix unused variables in HAVE_LIBRPM code in
    gdb-6.6-buildid-locate-rpm-suse.patch
  * Add %build test to check for "zypper install <rpm-packagename>"
    message

OBS-URL: https://build.opensuse.org/request/show/726802
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=221
2019-09-10 15:34:12 +00:00
Michael Matz
27ab902d16 Accepting request 721544 from home:tomdevries:branches:devel:gcc-2
- Master backport:
  * gdb-fix-breakpoints-on-file-reloads-for-pie-binaries.patch
- Master backports testsuite:
  * gdb-testsuite-i386-pkru-exp.patch
  * gdb-testsuite-read1-fixes.patch
  * gdb-testsuite-pie-no-pie.patch
  * gdb-testsuite-add-missing-initial-prompt-read-in-multidictionary.exp.patch
- Work around bsc#1115034:
  * gdb-testsuite-ada-pie.patch
- Fixes for fedora patches:
  * gdb-testsuite-fix-perror-in-gdb.opt-fortran-string.exp.patch
  * gdb-testsuite-avoid-pagination-in-attach-32.exp.patch

OBS-URL: https://build.opensuse.org/request/show/721544
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=219
2019-08-08 14:14:27 +00:00
Michael Matz
3b3c59425c Accepting request 718654 from home:StefanBruens:branches:devel:gcc
- Remove some conditionals for SLE-10 (build is disabled/unresolvable).
- BuildRequire makeinfo instead of full texinfo (requiring texlive)
  where available (SLE >= 12).

OBS-URL: https://build.opensuse.org/request/show/718654
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=217
2019-07-26 12:04:33 +00:00
Michael Matz
9cb1c9b1c3 Accepting request 717918 from home:tomdevries:branches:devel:gcc
- Add Wno-error=odr to work around swo#24835
- Add BuildRequires xz-devel

OBS-URL: https://build.opensuse.org/request/show/717918
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=216
2019-07-23 14:54:28 +00:00
Richard Biener
787c307ec6 Accepting request 713298 from home:tomdevries:branches:devel:gcc
- Add BuildRequires valgrind for make check
- Copy %ada_arch from gcc9 and use it to fix 'unresolvable:
  nothing provides gcc-ada' for openSUSE_Leap_42.3_Ports/SLE-12
  ppc64le.
- Add BuildRequire fpc for make check
- Add comment explaining why guile support has been disabled for
  newer distro versions.
- Add BuildRequire gcc-go to get gccgo command for make check
- Copy gdbinit from fedora master @ 25caf28.  Add
  gdbinit.without-python, and use it for --without=python.

OBS-URL: https://build.opensuse.org/request/show/713298
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=215
2019-07-04 07:16:27 +00:00
Michael Matz
c7d90f09c4 Accepting request 712900 from home:tomdevries:branches:devel:gcc
- Remove unused code: gdbtui support

OBS-URL: https://build.opensuse.org/request/show/712900
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=214
2019-07-01 17:43:28 +00:00
Richard Biener
f87bfe82c0 Accepting request 711645 from home:tomdevries:branches:devel:gcc
- Add comments to "patches to upstream" specifying when they can be
  dropped.

OBS-URL: https://build.opensuse.org/request/show/711645
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=213
2019-06-24 09:24:30 +00:00
Richard Biener
7978b0d71a Accepting request 711229 from home:tomdevries:branches:devel:gcc-2
- Remove -Wno-implicit-fallthrough, -Wno-error=cast-function-type
  and -Wno-error=stringop-truncation

OBS-URL: https://build.opensuse.org/request/show/711229
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=211
2019-06-21 11:06:01 +00:00
Richard Biener
1d1ac43d41 Accepting request 710894 from home:tomdevries:branches:devel:gcc
- Remove gdb-fix-buf-overflow.diff, which is a workaround for
  swo#24698, which has been fixed since gdb 7.12.

OBS-URL: https://build.opensuse.org/request/show/710894
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=210
2019-06-21 11:04:38 +00:00
Michael Matz
94d1e3cc9f Accepting request 710142 from home:tomdevries:branches:devel:gcc
- Fix rpmlint macro-in-comment errors
- Fix rpmlint error "deprecated-grep ['egrep']" .
- gdb-gcore-bash.patch: Fix rpmlint error env-script-interpreter by
  replacing "/usr/bin/env bash" with "/bin/bash" in gcore.
- Rewrite gdbserver.1 workaround for riscv64 to avoid
  %define _unpackaged_files_terminate_build 0

OBS-URL: https://build.opensuse.org/request/show/710142
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=209
2019-06-17 13:22:35 +00:00
Michael Matz
ff8c7e40a6 Accepting request 707836 from home:Andreas_Schwab:Factory
- gdb-suppress-sigttou-when-handling-errors.patch: Suppress SIGTTOU when
  handling errors
- Enable ada tests on ppc64le and riscv64
- Enable multitarget build on riscv64
- Add ia64 and riscv64 to target_list
- Enable -Werror on riscv64 and aarch64
- Don't remove %{buildroot}

OBS-URL: https://build.opensuse.org/request/show/707836
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=207
2019-06-05 12:50:01 +00:00
Richard Biener
7c311b650f OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=206 2019-06-04 10:18:29 +00:00
OBS User buildservice-autocommit
98ace548a4 Accepting request 704721 from devel:gcc
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/704721
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=205
2019-05-25 11:16:31 +00:00
OBS User buildservice-autocommit
bd6cbb6ebd Updating link to change in openSUSE:Factory/gdb revision 125.0
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=6ed8d3488e880b2255fe3a3ae50e1011
2019-05-25 11:16:31 +00:00
Michael Matz
630d3f35be Accepting request 705251 from home:tomdevries:branches:devel:gcc
Update to 8.3 release

OBS-URL: https://build.opensuse.org/request/show/705251
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=204
2019-05-24 13:40:33 +00:00
Michael Matz
15e61520b4 Accepting request 704690 from home:marxin:branches:devel:gcc
- Add gdb-gcc9-fix-build-with-latest-GCC-9.0-tree.patch and
  gdb-gcc9-warning-on-elf32-arm.c-elf32_arm_final_link.patch
  in order to fix build with GCC9.

OBS-URL: https://build.opensuse.org/request/show/704690
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=203
2019-05-22 12:16:56 +00:00
Michael Matz
56004f3d0d Mention patches in .changes
patches:
  gdb-rhbz1560010-fix-assertion-symbol-language-dict-language-1of5.patch
  gdb-rhbz1560010-fix-assertion-symbol-language-dict-language-2of5.patch
  gdb-rhbz1560010-fix-assertion-symbol-language-dict-language-3of5.patch
  gdb-rhbz1560010-fix-assertion-symbol-language-dict-language-4of5.patch
  gdb-rhbz1560010-fix-assertion-symbol-language-dict-language-5of5.patch
 * Add gdb-fix-multidictionary.exp-for-gdb-8.2.patch to fix
   multidictionary.exp test-case

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=201
2019-01-24 16:41:58 +00:00
Richard Biener
d40359d9a3 Accepting request 668275 from home:tomdevries:branches:devel:gcc
- Backport upstream fix for assertion failure
  `SYMBOL_LANGUAGE (sym) == DICT_LANGUAGE (dict)->la_language'
  [swo#23712, rh#1560010]
 * Add patches from fedora 29 @ 4513f72
 * Add patch to fix multidictionary.exp test-case

OBS-URL: https://build.opensuse.org/request/show/668275
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=200
2019-01-24 12:30:30 +00:00
Michael Matz
8150433645 Remove fuzz.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=199
2019-01-18 13:31:48 +00:00
Michael Matz
2af81dcacc - Add power8-registers.diff for implementing access to
more POWER8 registers.  [fate#326120, fate#325178]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=198
2018-12-06 14:50:54 +00:00
Richard Biener
1aa67c2660 Accepting request 652001 from home:tomdevries:branches:devel:gcc
- Run tests with -fno-PIE/-no-pie and -fPIE/-pie.

OBS-URL: https://build.opensuse.org/request/show/652001
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=197
2018-11-26 15:24:47 +00:00
Richard Biener
a87c07ece5 Accepting request 647075 from home:tomdevries:branches:devel:gcc
- Fix crash when reading core [bsc #1109013]
  * Add gdb-fix-crash-when-reading-core.patch
    https://sourceware.org/ml/gdb-cvs/2018-11/msg00022.html

OBS-URL: https://build.opensuse.org/request/show/647075
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=195
2018-11-08 08:59:28 +00:00
Michael Matz
0312b5b67a Try harder.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=193
2018-09-12 13:45:17 +00:00
Michael Matz
a4bd629f85 - Add gdb-fix-s390-build.diff for a Wformat error on s390.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=192
2018-09-12 12:56:29 +00:00
Michael Matz
d51e7f7f92 - Rebase to 8.2 release (as in fedora 29 @ c720d998):
* 'symbol-file' and 'add-symbol-file' accept -o to add relative
    offset to all sections
  * pager accepts 'c' response to disable it for rest of command
  * accept _Alignof and alignof in C resp. C++ expressions
  * new target riscv*-*-elf
  * python API extensions: gdb.Type.align, gdb.execute deals
    with multi-line gdb commands, gdb.convenience_variable and
    gdb.set_convenience_variable to access convenience variables,
  * aarch64: properly support hardware watchpoints on unaligned
    addresses (needs kernel >= 4.10)
- Support access to new POWER8 registers [fate#325178, fate#326120]
  Add patches gdb-rhbz1187581-power8-regs-1of7.patch,
  gdb-rhbz1187581-power8-regs-2of7.patch,
  gdb-rhbz1187581-power8-regs-3of7.patch,
  gdb-rhbz1187581-power8-regs-4of7.patch,
  gdb-rhbz1187581-power8-regs-5of7.patch,
  gdb-rhbz1187581-power8-regs-6of7.patch,
  gdb-rhbz1187581-power8-regs-7of7.patch .
- Support ipv6 for gdbserver connections:
  Add patches gdb-rhbz881849-ipv6-1of3.patch,
  gdb-rhbz881849-ipv6-2of3.patch,
  gdb-rhbz881849-ipv6-3of3.patch .
- Update to intel processor trace library 2.0 (from 1.6.1):
  Add v2.0.tar.gz, remove v1.6.1.tar.gz
  Remove obsolete v1.6.1-implicit-fallthrough.patch .
- Remove obsolete patches:
  gdb-fix-python37-breakage.patch,
  gdb-pahole-python2.patch .
- Added patches from Fedora:

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=191
2018-09-11 15:43:32 +00:00
Michael Matz
61f55bd3c2 .
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=190
2018-09-11 15:01:08 +00:00
Michael Matz
8d74db1fa0 Use %license marker
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=189
2018-09-11 13:50:50 +00:00
Michael Matz
f18dcc0654 .
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=188
2018-09-11 13:49:41 +00:00
Michael Matz
435dad805c Rebase onto fedora f29 @c720d998
8.2 release

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=187
2018-09-11 13:49:10 +00:00
Michael Matz
c4e854fd10 Fix place of new patch in .spec file.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=185
2018-08-10 12:21:57 +00:00
Michael Matz
9b5210576c Accepting request 628575 from home:scarabeus_iv:branches:devel:gcc
- Apply patch from fedora to build with python3.7:
  * gdb-fix-python37-breakage.patch

OBS-URL: https://build.opensuse.org/request/show/628575
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=184
2018-08-10 12:19:29 +00:00
Michael Matz
945af33f4d .
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=182
2018-03-27 15:55:16 +00:00
Michael Matz
45cbf065f2 - Add some -Wno-error flags for gcc-8 compatibility.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=181
2018-03-27 14:02:35 +00:00
Michael Matz
128b6e2e21 Fix the fix.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=179
2018-03-09 17:17:11 +00:00
Michael Matz
27b778ca74 fix check for -Wno flag
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=178
2018-03-09 17:08:53 +00:00
Michael Matz
e7db4ec014 - Rebase to 8.1 release:
* ptype/o prints offsets and sizes of members (like pahole)
  * tab-completion improved: quoting function names is not generally
    necessary anymore, completion offers for breakpoint don't include
    data symbol
  * enable/disable breakpoints now accept ranges: 'disable 1.3-5'
  * new commands:
    - set/show cwd: working directory of debuggee
    - set/show compile-gcc: program to use for 'compile' command
    - starti: start program and stop at first instruction
    - TUI single-key commands: 'i' for stepi and 'o' for nexti
  * --readnever option disables any reading of debug info (for dumping)
  * s390: guarded storage register access for z14
  * gcore option -a dumps all memory mapping
  * C++ breakpoints: 'b foo' will now set a breakpoint on all functions
    and methods named 'foo' no matter the scope.  Use -qualified if you
    don't want that
  * python scripting: new events gdb.new_inferior, gdb.inferior_deleted
    and gdb.new_thread; new command rbreak (breakpoint accepting regexps)
  * gdbserver can be passed environment parameters to remote debuggee
- Added patches from Fedora:
  gdb-ppc64-stwux-tautological-compare.patch
  gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch
  gdb-vla-intel-fix-print-char-array.patch
- Removed unused gdb-libstdc++-v3-python-7.1.1-20170526.tar.bz2
- Removed obsolete upstream patches:
  gdb-s390x-1b63490.patch
  gdb-s390x-289e23a.patch
  gdb-s390x-8fe09d7.patch
  gdb-s390x-96235dc.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=177
2018-03-09 16:46:37 +00:00
Michael Matz
feefab9860 Accepting request 541990 from home:Andreas_Schwab:Factory
- Support --without=testsuite and disable testsuite for qemu-linux-user
  builds

OBS-URL: https://build.opensuse.org/request/show/541990
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=175
2017-11-15 12:32:21 +00:00
Michael Matz
0fd48e79d5 Accepting request 539598 from home:matejcik:branches:devel:gcc
switch to Python 3 for Tumbleweed 1320 and up

OBS-URL: https://build.opensuse.org/request/show/539598
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=173
2017-11-08 14:33:53 +00:00
Michael Matz
1350dd5855 - Remove %clean section.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=171
2017-10-09 12:43:35 +00:00
Michael Matz
f1d5818a5c Mention new tarball and patches
Adds v1.6.1.tar.gz and patches
  v1.5-libipt-static.patch and v1.6.1-implicit-fallthrough.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=170
2017-10-04 15:31:05 +00:00
Michael Matz
b6b703b219 Disable libipt also on SLE-11 (cmake too old,
SP4 would be enough, but devel:gcc depends on :SP2).

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=169
2017-10-04 13:25:02 +00:00
Michael Matz
a49b30a4fc - Link gdb against a bundled libipt (processor trace
library) on x86_64 and i686 for improved tracing support
  on Intel CPUs.  [bnc#985550]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=168
2017-10-04 11:22:40 +00:00
Michael Matz
0ffa8e959b - Rebase to 8.0.1 release (fixing PR21886, PR22046)
- Updated libstdc++ pretty printers to
- Remove gdb-libstdc++-v3-python-6.3.1-20170212.tar.bz2 as unused
  in SUSE.
- Add patches for s390x z14 feates [fate #321514, fate #322272]
  gdb-s390x-1b63490.patch
  gdb-s390x-289e23a.patch
  gdb-s390x-8fe09d7.patch
  gdb-s390x-96235dc.patch
  gdb-s390x-ad33963.patch
- Adjust some patches:
  gdb-ppc-power7-test.patch
  gdb-rhbz795424-bitpos-20of25.patch
  gdb-rhbz795424-bitpos-21of25.patch
  gdb-vla-intel-fortran-vla-strings.patch
- Add some patches from Fedora:
  gdb-rhbz1420304-s390x-01of35.patch
  gdb-rhbz1420304-s390x-02of35.patch
  gdb-rhbz1420304-s390x-03of35.patch
  gdb-rhbz1420304-s390x-04of35.patch
  gdb-rhbz1420304-s390x-05of35.patch
  gdb-rhbz1420304-s390x-06of35.patch
  gdb-rhbz1420304-s390x-07of35.patch
  gdb-rhbz1420304-s390x-08of35.patch
  gdb-rhbz1420304-s390x-09of35.patch
  gdb-rhbz1420304-s390x-10of35.patch
  gdb-rhbz1420304-s390x-11of35.patch
  gdb-rhbz1420304-s390x-12of35.patch
  gdb-rhbz1420304-s390x-13of35.patch
  gdb-rhbz1420304-s390x-14of35.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=167
2017-10-02 15:05:29 +00:00
Michael Matz
3190bb69ba - Disable guile extensions for new distros, the gdb support
is incompatible with guile 2.2.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=165
2017-09-13 14:11:09 +00:00
Michael Matz
ac6bb11b29 - Rebase to gdb 8.0 release: [fate #319573]
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=163
2017-06-06 16:09:48 +00:00
Michael Matz
63c075a695 - Rebase to gdb 8.0 release:
* support for DWARF5 (except its .debug_names)
  * support C++11 rvalue references
  * support PKU register (memory protection keys on future Intel CPUs)
  * python scripting:
    - start, stop and access running btrace
    - rvalue references in gdb.Type
  * record/replay x86_64 rdrand and rdseed
  * removed support for GCJ compiled java programs
  * user commands accept more than 10 arguments
  * "eval" expands user-defined command arguments
  * new options:
    set/show disassembler-options (on arm, ppc s390)
- Removed obsoleted patches:
  gdb-release-werror.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=162
2017-06-06 14:44:13 +00:00
Michael Matz
5c490bb803 Add .changes entries from SLE tree to reduce diversion
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=161
2017-05-01 02:35:45 +00:00
Michael Matz
15e0c61e47 Support building on SLE-11 again.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=160
2017-05-01 02:01:32 +00:00
Michael Matz
50918c72d5 - Rebase to gdb 7.99.90 (prerelease of gdb 8)
- Updated libstdc++ pretty printers to
  gdb-libstdc++-v3-python-6.3.1-20170212.tar.bz2.
- Added patches from fedora:
  gdb-release-werror.patch
  gdb-rhbz1398387-tab-crash-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=159
2017-05-01 01:04:39 +00:00