Commit Graph

25 Commits

Author SHA1 Message Date
Alexey Neyman
72a5a1d6de Add GDB 8.0 ...
... which now requires C++.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-06-04 23:23:09 -07:00
Alexey Neyman
97a20eed5c Disallow duma/ltrace/strace for bionic
Allow cross-gdb and gdbserver. This requires removal of an explicit
check that disables gdbserver on android. However, the comment above
that check refers to exec_elf.h, which has been removed since API level
19. It builds fine with current selection of the sample (21). Only
build-tested, hope someone can give it a try and report back.

We can fine tune the check for GDB but I'll leave it for now.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 18:49:56 -07:00
Alexey Neyman
dd4cf6dde0 Upgrade GDB 7.11 -> 7.11.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:37:01 -08:00
Alexey Neyman
92d5c6d159 Upgrade GDB 7.12 -> 7.12.1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19 09:36:51 -08:00
Alexey Neyman
d7b313774e Add gdb 7.12.
Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch -
modify configure.ac and regenerate configure (rather than modifying
the latter directly).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Joachim Nilsson
f9a704bd44 gdb: Help gnulib determine uClibc gettimeofday() is OK
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-25 18:37:22 +01:00
Joachim Nilsson
77d7a0f927 gdb: Add support for v7.11, port patches from v7.10.1 that apply
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-24 23:00:23 +01:00
Bryan Hundven
1edc845660 gdb: Update patches for gdb-7.10.1
Notable here is the removal of 10-setns-handling.patch, which is now
upstream.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-05 03:27:43 -08:00
Max Filippov
6717dbfd3f gdb: add xtensa-specific patches for 7.10
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-13 09:08:54 +03:00
Bryan Hundven
c7b9a9bd70 musl-libc: backport gcc-6 musl support, add gdb and strace patches
This gets gcc and friends working with musl-libc.
GDB and Strace patches come from openwrt.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-10-21 17:51:13 -07:00
kozyilmaz
0b37fafb7d gdb-7.10 upstream fix for build problems if CT_GDB_NATIVE=y 2015-09-14 01:22:37 +03:00
Jang, Bongseo
dcd88fbd99 debug/gdb: fix from upstream with newer glibc(siginfo vs siginfo_t, Gentoo gdb-7.4.1 patch)
This is for when you failed to build gdb-native with the error:

	gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type"

This is from mirror://gentoo/distfiles/gdb-7.4.1-patches-2.tar.xz

Signed-off-by: "Jang, Bongseo" <graycells@gmail.com>
[yann.morin.1998@free.fr: refresh ptrace_setsiginfo patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-ID: <4eef2edec3201c50b420.1348370891@localhost.localdomain>
PatchWork-ID: 186179
2012-09-23 11:53:02 +09:00
Yann E. MORIN"
76b124a4d6 debug/gdb: rename patch directories
Missed renaming the patch directories after the version renames... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-11 18:28:45 +02:00
Titus von Boxberg"
711ac75ad0 debug/gdb: correct compilation error when stpcpy is a define
On OSX stpcpy is a define which is not recognized by gdb's configure.
This results in a compilation error.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22 09:35:29 +02:00
Yann E. MORIN"
e0c067dc3e debug/gdb: fix for psim build failure due to -lz in gdb-7.2.
Signed-off-by: "Horst Kronstorfer" <horst.kronstorfer@aon.at>
[yann.morin.1998@anciens.enib.fr: fix space-damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-03 19:07:34 +01:00
Martin Lund
77074691fd patches/gdb: Fix canadian building of GDB for powerpc
Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian
cross building of GDB for powerpc.

See original patch information here:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638

The patch is not required for GDB v7.1 (fixed).

Tested in canadian combination using mingw32 and powerpc toolchains.
Tested to not affect normal cross building of GDB for powerpc target.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
2010-05-29 15:08:11 +02:00
Yann E. MORIN"
14f607d3a9 debug/gdb: remove old versions 2009-10-28 18:59:09 +01:00
Yann E. MORIN"
4fb0c302e0 config: rip-out versions marked as OBSOLETE 2009-10-28 18:55:40 +01:00
Yann E. MORIN"
5a32a8b8e8 Fix gdb bug reported by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
See: http://sourceware.org/ml/crossgcc/2009-05/msg00055.html
     https://bugzilla.redhat.com/show_bug.cgi?id=436037

Fix from: http://cvs.fedoraproject.org/viewvc/devel/gdb/gdb-6.8-bz436037-reg-no-longer-active.patch?revision=1.1


 -------- diffstat follows --------
 /trunk/patches/gdb/6.8/130-reg-no-longer-active.patch |   30    30     0     0 +++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
2009-05-19 16:05:36 +00:00
Yann E. MORIN"
6317df4779 Fourth step at renaming patches: renumber all patches with a 10-step. 2008-07-28 21:32:33 +00:00
Yann E. MORIN"
3bf3f54ed1 Third go at renaming patches to contain neither the package name nor the package version. 2008-07-28 21:08:01 +00:00
Yann E. MORIN"
d600848c10 Add patches for gdb 6.7, 6.7.1 and 6.8, vampirised from the Gentoo CVS.
/trunk/patches/gdb/6.7.1/175-gdb-hppa-offsets.patch                 |  272   272     0     0 +++++++++++++++++++
 /trunk/patches/gdb/6.7.1/200-gdb-deleted-children.patch             |   26    26     0     0 ++
 /trunk/patches/gdb/6.7.1/225-gdb-6.5-dwarf-stack-overflow.patch     |   52    52     0     0 ++++
 /trunk/patches/gdb/6.7.1/150-gdb-6.3-security-errata-20050610.patch |  205   205     0     0 ++++++++++++++
 /trunk/patches/gdb/6.7/150-gdb-6.5-dwarf-stack-overflow.patch       |   52    52     0     0 ++++
 /trunk/patches/gdb/6.7/100-gdb-6.3-security-errata-20050610.patch   |  205   205     0     0 ++++++++++++++
 /trunk/patches/gdb/6.7/125-gdb-hppa-offsets.patch                   |  272   272     0     0 +++++++++++++++++++
 /trunk/patches/gdb/6.8/100-gdb-6.5-dwarf-stack-overflow.patch       |   52    52     0     0 ++++
 /trunk/patches/gdb/6.8/200-gdb-tdep-opcode-include-workaround.patch |   33    33     0     0 ++
 /trunk/patches/gdb/6.8/150-gdb-6.3-security-errata-20050610.patch   |  205   205     0     0 ++++++++++++++
 10 files changed, 1374 insertions(+)
2008-06-17 21:37:27 +00:00
Yann E. MORIN"
524ec3d73d Update patch to gdb. Thanks Khem RAJ <kraj@mvista.com>
patches/gdb/6.5/500-thread-timeout.patch |   13     6     7     0 ++++++-------
 docs/CREDITS                             |    3     3     0     0 +++
 2 files changed, 9 insertions(+), 7 deletions(-)
2008-04-13 18:03:28 +00:00
Yann E. MORIN"
6c368af5b4 Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
 - remove associated patches no longer needed,
 - mark then as (OBSOLETE) in the prompt;
2007-08-14 20:11:44 +00:00
Yann E. MORIN"
8d3f0a8781 Debug facilities:
- add a framework to easily add new ones
  - add gdb as a first debug facility
  - add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
  - dump the configuration early
  - renice early
  - get info about build system early, when setting up the environment
  - when in cross or native, the host tools are those of the build system, and only in this case
  - elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
  - handle debug facilities
  - commonalise some code
  - remove dead tools (cygwin, tcc)
Point to my address for bug reports.
2007-05-17 16:22:51 +00:00