pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
avr-gdb: Update to 10.2
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Fri Aug 27 19:33:29 2021 +0200
Changeset: 74c5f6f48589f6efef039787081d9b440f552966
Modified Files:
avr-gdb/COMMIT_MSG
avr-gdb/Makefile
avr-gdb/TODO
avr-gdb/distinfo
Removed Files:
avr-gdb/patches/patch-ac
avr-gdb/patches/patch-bfd_bfd-in2_h
avr-gdb/patches/patch-opcodes_configure
Log Message:
avr-gdb: Update to 10.2
Old patches removed.
Declared dejagnu as external dependency for test suite.
Use bash for CONFIG_SHELL.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74c5f6f48589f6efef039787081d9b440f552966
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
avr-gdb/COMMIT_MSG | 106 +-------------------------------
avr-gdb/Makefile | 22 +++----
avr-gdb/TODO | 4 ++
avr-gdb/distinfo | 10 ++-
avr-gdb/patches/patch-ac | 15 -----
avr-gdb/patches/patch-bfd_bfd-in2_h | 27 --------
avr-gdb/patches/patch-opcodes_configure | 24 --------
7 files changed, 22 insertions(+), 186 deletions(-)
diffs:
diff --git a/avr-gdb/COMMIT_MSG b/avr-gdb/COMMIT_MSG
index dc78779ee1..04c47466cc 100644
--- a/avr-gdb/COMMIT_MSG
+++ b/avr-gdb/COMMIT_MSG
@@ -1,104 +1,4 @@
-GDB 7.8
----------------------------
-July 29th, 2014: GDB 7.8 Released!
- The latest version of GDB, version 7.8, is available for download.
- Changes in this release include:
- Guile scripting support.
- Python scripting enhancements.
- New commands, options, convenience variables/options.
- Remote Protocol and GDBserver enhancements.
- New target configurations (PowerPC64 GNU/Linux little-endian).
- btrace enhancements.
- ISO C99 variable length automatic arrays support.
- The "compare-sections" command now works on all targets.
- The "target native" command now connects to the native target.
+avr-gdb: Update to 10.2
-GDB 7.7
----------------------------
-GDB 7.7 brings new targets, features and improvements, including:
- * C++:
-
- ** GDB now implements the 'typeid' operator.
- ** Exception Catchpoints can now filter by type.
-
- * Python scripting:
- ** Frame filters and frame decorators have been added.
- ** Temporary breakpoints are now supported.
- ** Line tables representation has been added.
- ** New attribute 'parent_type' for gdb.Field objects.
- ** gdb.Field objects can be used as subscripts on gdb.Value objects.
- ** New attribute 'name' for gdb.Type objects.
-
- * New commands:
- ** show configuration
- ** catch rethrow
- ** info exceptions [REGEXP]
- ** remove-symbol-file [FILENAME | -a ADDRESS]
- ** maint check-psymtabs
- ** maint check-symtabs
- ** maint expand-symtabs
- ** maint set|show per-command [space | time | symtab]
-
- * New options:
- ** set|show debug symfile off|on
- ** set|show print raw frame-arguments
- ** set|show remote trace-status-packet
- ** set|show debug nios2
- ** set|show range-stepping
- ** set|show startup-with-shell
- ** set|show code-cache
-
- For all options that interpret 0 or -1 as meaning "unlimited",
- the literal 'unlimited' can ot be used.
-
- * New convenience variables/functions:
- ** $_exception
- ** $_exitsignal
- ** $_isvoid
-
- * GDB/MI:
- ** All MI commands now accept an optional "--language" option.
- ** "undefined-command" error code provided in "^error" result
- records when trying to run a non-existing command.
- ** New commands -catch-assert and -catch-exceptions
- ** New command -info-ada-exceptions
- ** New command -info-gdb-mi-command
- ** New command -dprintf-insert
- ** New command -trace-frame-collected
- ** -trace-save CTF (Common Trace Format) support.
- ** -data-list-register-values, -stack-list-locals, -stack-list-arguments
- and -stack-list-variables optional "--skip-unavailable" option.
- ** -exec-run optional "--start" option.
-
- * Remote Protocol:
- ** Target-assigned range stepping support.
- GDBserver implements this feature on x86/x86_64 GNU/Linux targets.
- ** vCont new 'r' action.
- ** qXfer:libraries-svr4:read's annex used to pass argument list.
-
- * New target configurations:
- ** Nios II ELF nios2*-*-elf
- ** Nios II GNU/Linux nios2*-*-linux
- ** Texas Instruments MSP430 msp430*-*-elf
-
- * GDB Windows x64 unwinding data support.
-
- * SystemTap SDT probes support on AArch64 GNU/Linux.
-
- * The 'tsave' command now supports CTF (Common Trace Format).
-
- * New script gcore, installed in $prefix/bin
-
- * New script contrib/gdb-add-index.sh for adding .gdb_index sections
- to binaries.
-
- * Improve arm*-linux record/replay support.
-
- * Removed support for a.out NetBSD and OpenBSD obsolete configurations.
- ELF variants of these configurations are kept supported.
-
- * The "set|show remotebaud" commands are deprecated. Use "show|show serial
- baud" instead.
-
-For a complete list and more details on each item, please see the
-gdb/NEWS file.
+Changelog:
+https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-10.2-release
diff --git a/avr-gdb/Makefile b/avr-gdb/Makefile
index 80118b7586..91969d6921 100644
--- a/avr-gdb/Makefile
+++ b/avr-gdb/Makefile
@@ -1,15 +1,19 @@
-# $NetBSD: Makefile,v 1.5 2014/08/29 07:17:45 makoto Exp $
+# $NetBSD$
-DISTNAME= gdb-7.8
+DISTNAME= gdb-10.2
PKGNAME= ${DISTNAME:S/^/avr-/}
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
+MAKE_JOBS_SAFE= yes
+
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= GNU gdb for Atmel AVR 8-bit RISC microcontrollers
-LICENSE= gnu-gpl-v3
+LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
-USE_TOOLS+= gmake
+USE_LANGUAGES= c c++11
+USE_TOOLS+= bash gmake
+CONFIG_SHELL= ${TOOLS_PATH.bash}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_LDFLAGS=${LDFLAGS:M*:Q}
CONFIGURE_ARGS+= --target=avr
@@ -22,19 +26,15 @@ MAKE_ENV+= gdb_cv_var_elf=yes
#CONFIGURE_ENV+= gdb_cv_struct_lwp=yes
#MAKE_ENV+= gdb_cv_struct_lwp=yes
-
INSTALLATION_DIRS= bin
-TEST_TARGET= check
-pre-configure:
- cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
+# DejaGnu is required for the test suite
+TEST_TARGET= check
+TEST_DEPENDS+= dejagnu>=1.6.2:../../devel/dejagnu
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
-# to link -lcurses.7 => /usr/lib/libcurses.so.7
-# instead of terminfo
.include "../../mk/curses.buildlink3.mk"
-
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/avr-gdb/TODO b/avr-gdb/TODO
index f7cb83e418..d717ca9722 100644
--- a/avr-gdb/TODO
+++ b/avr-gdb/TODO
@@ -1,5 +1,9 @@
make test results
-----------------
+
+NetBSD/amd64 9.0
+Timeout for most tests.
+
NetBSD/amd64 6.1
(After avr-libc installed)
modena@makoto 20:04:25/130706(..wip/avr-gdb)% tail -12 work/gdb-7.6/gdb/testsuite/gdb.sum
diff --git a/avr-gdb/distinfo b/avr-gdb/distinfo
index 49f7ce66f2..05f70a4024 100644
--- a/avr-gdb/distinfo
+++ b/avr-gdb/distinfo
@@ -1,8 +1,6 @@
$NetBSD: distinfo,v 1.4 2014/08/29 07:17:45 makoto Exp $
-SHA1 (gdb-7.8.tar.gz) = 4810d78a77064fefc05e701fc0a2193562a23afe
-RMD160 (gdb-7.8.tar.gz) = e92c791ec2c150d72cb390dc6076408563c3cccf
-SHA512 (gdb-7.8.tar.gz) = bcbecbb2e0f839b3dbe8398e1118c574f7f6d9e5b6b1bb3378aedded1f09ca7e87d14b9aa62334277469197b5d83ddffacf5cc7b801473524006db9d1db65af1
-Size (gdb-7.8.tar.gz) = 32911353 bytes
-SHA1 (patch-ac) = 2975101bbbd4a2e19fb9364b494a18e3940d9bac
-SHA1 (patch-opcodes_configure) = 8c0b82710653c93320230c25ace0dbb6360cf656
+SHA1 (gdb-10.2.tar.gz) = 6bf5ee7877a4740835745ed97ce525a00bb2232c
+RMD160 (gdb-10.2.tar.gz) = be6e1cea6f50a6a7cdaab925828524b278573ec4
+SHA512 (gdb-10.2.tar.gz) = aa89caf47c1c84366020377d47e7c51ddbc48e5b7686f244e38797c8eb88411cf57fcdc37eb669961efb41ceeac4181747f429625fd1acce7712cb9a1fea9c41
+Size (gdb-10.2.tar.gz) = 40267550 bytes
diff --git a/avr-gdb/patches/patch-ac b/avr-gdb/patches/patch-ac
deleted file mode 100644
index 50f858ed68..0000000000
--- a/avr-gdb/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2013/07/04 04:31:43 makoto Exp $
-
-ERROR: [check-portability.awk] => Found test ... == ...:
-
---- gdb/config/djgpp/djconfig.sh.orig 2002-02-25 17:09:45.000000000 +0100
-+++ gdb/config/djgpp/djconfig.sh 2006-10-13 20:25:02.000000000 +0200
-@@ -76,7 +76,7 @@ TMPFILE="${TMPDIR-.}/cfg.tmp"
-
- # We need to skip the build directory if it is a subdirectory of $srcdir,
- # otherwise we will have an infinite recursion on our hands...
--if test "`pwd`" == "${srcdir}" ; then
-+if test "`pwd`" = "${srcdir}" ; then
- SKIPDIR=""
- SKIPFILES=""
- else
diff --git a/avr-gdb/patches/patch-bfd_bfd-in2_h b/avr-gdb/patches/patch-bfd_bfd-in2_h
deleted file mode 100644
index f66bdb2cc5..0000000000
--- a/avr-gdb/patches/patch-bfd_bfd-in2_h
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-bfd_bfd-in2_h,v 1.1 2013/07/04 13:37:20 makoto Exp $
-
-Avoid following problem by clang-3.2
-----------------
-libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_bfd_elf32_avr_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec -I./../intl -DBINDIR=\"/usr/pkg/bin\" -I/usr/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -I/usr/include -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c opncls.c -o opncls.o
-opncls.c:263:5: error: expression result unused [-Werror,-Wunused-value]
- bfd_set_cacheable (nbfd, TRUE);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-./bfd.h:529:67: note: expanded from macro 'bfd_set_cacheable'
-#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
- ^~~~
-./bfd.h:134:14: note: expanded from macro 'TRUE'
-#define TRUE 1
- ^
-1 error generated.
-
---- bfd/bfd-in2.h.orig 2013-02-28 06:39:18.000000000 +0900
-+++ bfd/bfd-in2.h 2013-07-04 21:57:46.000000000 +0900
-@@ -526,7 +526,7 @@ extern void warn_deprecated (const char
-
- #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
-
--#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
-+#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool)
-
- extern bfd_boolean bfd_cache_close
- (bfd *abfd);
diff --git a/avr-gdb/patches/patch-opcodes_configure b/avr-gdb/patches/patch-opcodes_configure
deleted file mode 100644
index 1104b65fc3..0000000000
--- a/avr-gdb/patches/patch-opcodes_configure
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-opcodes_configure,v 1.1 2013/07/04 04:31:43 makoto Exp $
-
-Revert to gdb-7.5.1 to avoid following error
-(But why this is necessary is unkown yet).
-
-Configuring in ./opcodes
-....
-checking for gcc option to accept ISO C89... none needed
-checking for library containing strerror... none required
-./configure.lineno: 3236: Syntax error: Bad substitution
-gmake[1]: *** [configure-opcodes] Error 1
-gmake[1]: Leaving directory `/usr/pkgsrc/wip/gdb76/work/gdb-7.6'
-
---- opcodes/configure.orig 2013-07-03 10:59:20.000000000 +0900
-+++ opcodes/configure 2013-07-03 12:02:37.000000000 +0900
-@@ -3216,7 +3216,7 @@
- # We currently only use the version number for the name of any shared
- # library. For user convenience, we always use the same version
- # number that BFD is using.
--BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
-+BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
-
- am__api_version='1.11'
-
Home |
Main Index |
Thread Index |
Old Index