Commit Graph

48 Commits

Author SHA1 Message Date
Chris Packham
ad71fdf9a1 gdb: Add 14.1 release
https://sourceware.org/pipermail/gdb-announce/2023/000137.html

Fixes #2077
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-12-18 16:28:45 +13:00
Chris Packham
df2c7559fa gdb: Add gdb 13.2
https://sourceware.org/pipermail/gdb-announce/2023/000135.html
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.2-release

Add the 13.2 release, remove 13.1.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-05-31 20:21:11 +12:00
Chris Packham
1289633f3a gdb: Bring in upstream fix for build error
On systems that lack pread64() (e.g. musl) the following build error is
observed.

  src/gdb/gdbserver/linux-low.cc:5393:45: error: expected ':' before ')' token
  src/gdb/gdbserver/linux-low.cc:5393:45: error: expected primary-expression before ')' token
  src/gdb/gdbserver/linux-low.cc:5393:45: error: expected ':' before ')' token
  src/gdb/gdbserver/linux-low.cc:5393:45: error: expected primary-expression before ')' token

Bring in the upstream fix for this error.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-05-17 10:27:59 +12:00
Chris Packham
ee5a4026c3 gdb: Add gdb 13.1
https://sourceware.org/pipermail/gdb-announce/2023/000134.html
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.1-release

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-02-25 14:22:02 +13:00
Chris Packham
5937024455 gdb: Add 12.1
Add gdb 12.1 release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-16 19:23:47 +12:00
Chris Packham
3ac6f1791a gdb: drop obsolete versions
Drop gdb 7.11.1, 7.12.1, 8.0.1, 8.1.1 and 8.2.1. Cleanup milestones
related to these older versions.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2022-05-10 19:46:53 +12:00
Alexey Neyman
86c2982568 Run patches thru manage-packages -P
This refreshes the line numbers, removes any fuzz (which would make any
future forward ports easier) and standardizes the patch/file headers
(which makes them easier to read).

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Alexey Neyman
1210b0c2f4 Run packages through manage-packages -D
This fixed some typos in the checksum files (please don't edit them
manually, this is error-prone!)

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Alexey Neyman
db3b51de5a Remove GDB 11.1
This was originally an upgrade from 11.1 to 11.2 that fixed moxie-*
samples affected by PR sim/28302. GDB 11.2 landed independently on
master, so just remove 11.1 (one release per upstream branch, please, we
already have lots of version/architecture/host permutations to test).

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Alexey Neyman
4c0d78bb64 gdb: use single-number versions/milestones for 9+
Starting with GDB9, the release number is only two numbers (with the
last being patchlevel). Therefore, keep two numbers for releases 8 and
below, but just a single number for 9 and up.

Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Hans-Christian Noren Egtvedt
803f9b84f6 packages/gdb: add gdb-11.2
Forward port patches from gdb-11.1, as they still apply clean, hence
still assumed to be relevant.

Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
2022-02-08 20:52:48 +13:00
Chris Packham
9703e669d0 gdb: Remove old milestones
Now that the oldest supported version of gdb is 7.11.1 we can make some
parts of the build unconditional and remove the associated config vars.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-21 21:12:19 +12:00
Chris Packham
68088f65c6 gdb: Add gdb-11.1
Drop the uclibc-no-gettimeofday-clobber patch as it no longer applies.
The arc patches are all upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19 19:50:29 +12:00
Chris Packham
c0c4d2fe5e gdb: Mark older versions as obsolete
Mark all of the 7.x series obsolete, retain only the latest 8.x release.
These will be removed after the next release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19 19:50:29 +12:00
Chris Packham
3fc2737bfe gdb: Drop obsolete version
Drop versions of gdb that were marked as obsolete prior to the
crosstool-ng-1.24.0 release.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-09-19 19:50:29 +12:00
Alexey Brodkin
8099a74750 gdb10: Fixes for ARC
Here we add a couple of fixes and improvements for ARC processors.
All except 1 patch are already in the upstream "master" branch
and will be an essential part of GCC 11.x whenever it gets released.

The most important are first 4 patches (0005-0008) which introduce
support of full native GDB support in Linux on ARC.

And the rests are tiny, yet useful improvements.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-14 04:30:17 -07:00
Alexey Brodkin
d6eeff01a6 gdb10: Update existing patches
As easy as: ./maintainer/manage-packages.sh --update-patches --select gdb-10.2

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-14 04:29:36 -07:00
Alexey Brodkin
5463ab4bf6 gdb: Add gdb-10.2
In GDB 10.x gdbserver was promoted to the top-level folder,
see https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1
Which means it is no longer a subfolder in "gdb" and so we have to
build gdbserver now exactly in the same way as normal native GDB.

One interesting detail is gdbserver doesn't need to deal with target
description in .xml so it doesn't depend on libexpat on target,
thus we need to move libexpat explicit selection from do_gdb_backend()
to its callers when building native [full] gdb as well as cross-gdb
for the host.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[cp: support old/new layout, regenerate patches]
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-25 10:12:56 +12:00
Kumar Gala
e48b156664 gdb 9.2 support
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-09-11 16:44:20 -05:00
Chris Packham
2fbf355f28
Merge pull request #1220 from claymation/patch-1
Fix native gdb aarch64 musl build
2020-08-23 20:35:04 +12:00
Alexey Neyman
701974efa4 Add gdb-9.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26 11:05:19 -08:00
Alexey Neyman
13511cfbc0 Upstream patch to disable FORTIFY_SOURCE on mingw32
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-09 00:36:18 -08:00
Alexey Neyman
8a7f46f151 GDB 8.3+ needs IPv6
... which wasn't enabled in uClibc-ng by default

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-02 09:35:46 -07:00
Alexey Neyman
07594d1e8b Add GDB 8.3.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01 21:22:22 -07:00
Clay McClure
1af0f42607
Fix native gdb aarch64 musl build
Apply the patch from https://patchwork.openembedded.org/patch/161442/, which explains why gdb should include <signal.h> instead of <asm/sigcontext.h>.
2019-07-30 19:30:08 -07:00
Alexey Neyman
cbd9af9ac9 event-loop.h is included via other paths, too
... so instead add an include guard.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-14 12:06:34 -07:00
Alexey Neyman
8b8e6b4e5d Remove "event-loop.h" inclusion from "top.h"
Older GCCs (e.g. GCC 4.4 in CentOS 6) chokes on having two identical
typedefs like this:

typedef void *p;
typedef void *p;

The event-loop.h header does not have a guard against double-inclusion.
Not the best solution, but it works and eventually 7.12 will fall into
obsolescence anyway.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-13 23:56:12 -07:00
Alexey Neyman
de36f78f89 Allow older GDB to build against newer glibc
Also, fix the subdir used when only gdbserver is built (without native
GDB).

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-11 00:33:22 -07:00
Alexey Neyman
1e25ebc7e0 Move GDB build into a common backend function
... needed to create a common runtime test for an incompatible change
in glibc API.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-09 18:01:30 -08:00
Alexey Neyman
32af07341d GDB 7.12.1 fails to build in certain configurations
... for which we pick up a patch from upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-03-06 00:51:36 -08:00
Alexey Neyman
91d01a0e47 Another wave of version updates
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-02-13 22:47:07 -08:00
Alexey Neyman
0fe21f8db8 Config v2: select relevant parts of each package version
Also, remove a couple of config options that dealt with package versions
that have been since retired.

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30 00:09:30 -08:00
Alexey Neyman
20c6accc65 Retire GDB 7.0a, superseded by 7.0.1a
(missed by "retire old versions" commit awhile ago)

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:31:03 -08:00
Alexey Neyman
127c6cc64d Replace GDB 7.8.1 with 7.82
When merging new package framework, I missed that master had 7.8.2
imported in place of 7.8.1. Noone complained about this downgrade...

Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-26 13:13:32 -08:00
Alexey Neyman
98834458f1 Upgrades. Lots of 'em.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-09-24 23:09:53 -07:00
Alexey Neyman
3f16a8e269 Restore a missing GDB option
(whether GDB has --disable-build-with-cxx) and use it.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-06 15:20:50 -07:00
Alexey Neyman
79b100707b Bring in GDB 8.1 and glibc 2.27.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-03 12:05:29 -08:00
Alexey Neyman
98bc4decde Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-12-02 12:44:39 -08:00
Alexey Neyman
8e5de7fcbf Upgrades: gcc 5.5, gdb 8.0.1, musl 1.1.17, Linux
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-10-23 13:02:01 -07:00
Alexey Neyman
b3038a0a41 Add digests for all packages
Also fix test-packages: it was saving the output from CT_DoLog into
the checksum file. Also use one file per version.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-29 17:05:22 -07:00
Alexey Neyman
f8d4ce3d0e Implement a script for checking packages
Then use this script to check that all packages can be extracted and patched.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-23 16:05:40 -07:00
Alexey Neyman
be399f1046 Record tarball formats
Also, missed upgrades of gmp, isl, mingw-w64

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-18 22:39:26 -07:00
Alexey Neyman
321990916b Trim old versions
Policy:
- Only latest patchlevel for each branch release
  Exception: CLooG - ISL has dependencies on specific CLooG releases within a
  single branch
- Where there are no patchlevel releases (uClibc, musl) - just retain
  two most recent releases

Also, missed automake update: 1.14 -> 1.14.1

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-18 16:17:53 -07:00
Alexey Neyman
fd522eed50 Resolve a few more TBDs
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-09 23:08:12 -07:00
Alexey Neyman
d0ff020e23 Fixes for building
- Need GDB8.0 milestone
- Make uClibc "master" package
- Rename bionic -> android-ndk to match the package name and
  support suffixes for archives

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
ee983f5f92 Downloading packages using new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
567277099a Fix the references to old config variables
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
e7deac3aad Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00