pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nios2-gdb: removed; ../../cross/nios2/Makefile.common is gone



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Mon Mar 27 10:00:27 2023 +0200
Changeset:	4b50c2c740694a5f7f61772bbffd821be283de9d

Modified Files:
	Makefile
Removed Files:
	nios2-gdb/DESCR
	nios2-gdb/Makefile
	nios2-gdb/PLIST
	nios2-gdb/TODO
	nios2-gdb/distinfo
	nios2-gdb/patches/patch-gdb_config_djgpp_djconfig_sh
	nios2-gdb/patches/patch-gdb_corefile.c

Log Message:
nios2-gdb: removed; ../../cross/nios2/Makefile.common is gone

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4b50c2c740694a5f7f61772bbffd821be283de9d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 -
 nios2-gdb/DESCR                                    |  1 -
 nios2-gdb/Makefile                                 | 36 -------------------
 nios2-gdb/PLIST                                    | 30 ----------------
 nios2-gdb/TODO                                     | 41 ----------------------
 nios2-gdb/distinfo                                 |  7 ----
 .../patches/patch-gdb_config_djgpp_djconfig_sh     | 15 --------
 nios2-gdb/patches/patch-gdb_corefile.c             | 15 --------
 8 files changed, 146 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 0a3b91db68..2c9668147d 100644
--- a/Makefile
+++ b/Makefile
@@ -2600,7 +2600,6 @@ SUBDIR+=	ngircd
 SUBDIR+=	nicotine+
 SUBDIR+=	nih-current
 SUBDIR+=	ninja-ide
-SUBDIR+=	nios2-gdb
 SUBDIR+=	nitrogen
 SUBDIR+=	nix
 SUBDIR+=	nlopt
diff --git a/nios2-gdb/DESCR b/nios2-gdb/DESCR
deleted file mode 100644
index 318cd2c396..0000000000
--- a/nios2-gdb/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-Cross gdb-7.* for ALTERA Nios2 processor.
diff --git a/nios2-gdb/Makefile b/nios2-gdb/Makefile
deleted file mode 100644
index 5aa23c14f9..0000000000
--- a/nios2-gdb/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2013/11/17 01:03:27 makoto Exp $
-.include		"../../cross/nios2/Makefile.common"
-PKGNAME=		nios2-gdb-${PKG_VERSION}
-PKG_VERSION=		7.6.1
-
-MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
-COMMENT=		GNU Debugger (gdb) for Altera FPGA Nios2 processor
-LICENSE=		gnu-gpl-v3
-
-#USE_TOOLS+=		ksh gettext gmake makeinfo perl tar automake autoconf gawk
-USE_TOOLS+=		tar makeinfo
-USE_LIBTOOL=		yes
-USE_LANGUAGES+=		c c++
-USE_GNU_CONFIGURE_HOST=	no
-WRKSRC=			${WRKDIR}/gdb-nios2
-
-CONFIGURE_ARGS+=	--disable-threads
-CONFIGURE_ARGS+=	--disable-nls
-# to avoid strange problem due to long `uname -a` result
-CONFIGURE_ARGS+=	--host=${MACHINE_ARCH}--${LOWER_OPSYS}
-CONFIGURE_ARGS+=	--build=${MACHINE_ARCH}--${LOWER_OPSYS}
-
-PLIST_VARS+=		doc
-TEST_TARGET=		check
-
-do-extract:
-	(cd ${WRKDIR}; tar zxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}	\
-	        sourceryg++-2013.05-43-nios2-linux-gnu/gdb-2013.05-43.tar.bz2;\
-	tar zxf sourceryg++-2013.05-43-nios2-linux-gnu/gdb-2013.05-43.tar.bz2;\
-	)
-
-# to avoid conflict with binutils (to be fixed by more sophisticated way)
-post-install:
-	${RM}  ${DESTDIR}${PREFIX}/cross/lib/libiberty.a
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/nios2-gdb/PLIST b/nios2-gdb/PLIST
deleted file mode 100644
index f808d0113a..0000000000
--- a/nios2-gdb/PLIST
+++ /dev/null
@@ -1,30 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2013/11/17 01:03:27 makoto Exp $
-cross/bin/nios2-elf-gdb
-cross/include/gdb/jit-reader.h
-cross/info/annotate.info
-cross/info/bfd.info
-cross/info/configure.info
-cross/info/gdb.info
-cross/info/gdbint.info
-cross/info/stabs.info
-cross/info/standards.info
-cross/lib/charset.alias
-cross/man/man1/nios2-elf-gdb.1
-cross/share/gdb/python/gdb/__init__.py
-cross/share/gdb/python/gdb/command/__init__.py
-cross/share/gdb/python/gdb/command/explore.py
-cross/share/gdb/python/gdb/command/pretty_printers.py
-cross/share/gdb/python/gdb/command/prompt.py
-cross/share/gdb/python/gdb/printing.py
-cross/share/gdb/python/gdb/prompt.py
-cross/share/gdb/python/gdb/types.py
-cross/share/gdb/syscalls/amd64-linux.xml
-cross/share/gdb/syscalls/gdb-syscalls.dtd
-cross/share/gdb/syscalls/i386-linux.xml
-cross/share/gdb/syscalls/mips-n32-linux.xml
-cross/share/gdb/syscalls/mips-n64-linux.xml
-cross/share/gdb/syscalls/mips-o32-linux.xml
-cross/share/gdb/syscalls/ppc-linux.xml
-cross/share/gdb/syscalls/ppc64-linux.xml
-cross/share/gdb/syscalls/sparc-linux.xml
-cross/share/gdb/syscalls/sparc64-linux.xml
diff --git a/nios2-gdb/TODO b/nios2-gdb/TODO
deleted file mode 100644
index 7d24626905..0000000000
--- a/nios2-gdb/TODO
+++ /dev/null
@@ -1,41 +0,0 @@
-- To avoid segmentation fault (shown below), 
-  one function deleted. Meaning it does not honor GNUTARGET,
-  see patches/patch-gdb_corefile.c
-  Related thread starts at
-    http://mail-index.netbsd.org/current-users/2013/05/19/msg022717.html
-
-- make test
-   You need following package installed to do that:
-     devel/dejagnu -> lang/tcl-expect
-     wip/nios2-gcc
-     wip/nios2-glibc
-
-- Segmentation Fault
-GNU gdb (GDB) 7.3.1
-Copyright (C) 2011 Free Software Foundation, Inc.
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
-and "show warranty" for details.
-This GDB was configured as "x86_64--netbsd".
-For bug reporting instructions, please see:
-<http://www.gnu.org/software/gdb/bugs/>...
-Reading symbols from /export/WRKOBJDIR/wip/nios2-gdb/work/gdb-nios2/gdb/gdb...(no debugging symbols found)...done.
-[New process 1]
-Core was generated by `gdb'.
-Program terminated with signal 11, Segmentation fault.
-#0  0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12
-(gdb) bt
-#0  0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12
-#1  0x00007f7ff68e75cd in __getenvslot () from /usr/lib/libc.so.12
-#2  0x00007f7ff68e7721 in __findenvvar () from /usr/lib/libc.so.12
-#3  0x00007f7ff68e727c in getenv () from /usr/lib/libc.so.12
-#4  0x0000000000522810 in _initialize_core ()
-#5  0x0000000000590e3a in initialize_all_files ()
-#6  0x000000000056a03f in gdb_init ()
-#7  0x00000000004cb962 in captured_main ()
-#8  0x00000000004ca4cb in catch_errors ()
-#9  0x00000000004cc6a3 in gdb_main ()
-#10 0x0000000000405c9a in main ()
-(gdb) 
-
diff --git a/nios2-gdb/distinfo b/nios2-gdb/distinfo
deleted file mode 100644
index 15a5720e20..0000000000
--- a/nios2-gdb/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.1 2013/11/17 01:03:27 makoto Exp $
-
-RMD160 (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = de056d240a73236d6d8be4851813d8b15d16808f
-SHA512 (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = 1577ed24d5dfe7436a3f96ef8b906459578777f73a0a07aacc97a87708999a72a0eb0b2ce54306de55e43ce9f1e2dc171f06e7256f59b272af399fb1d29b943b
-Size (sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2) = 251136787 bytes
-SHA1 (patch-gdb_config_djgpp_djconfig_sh) = 833bace70abb0b831c99bf325ef98f70288f930f
-SHA1 (patch-gdb_corefile.c) = faa4e815b3a821812e578417cbd8cd081dba8e99
diff --git a/nios2-gdb/patches/patch-gdb_config_djgpp_djconfig_sh b/nios2-gdb/patches/patch-gdb_config_djgpp_djconfig_sh
deleted file mode 100644
index 8f141787c1..0000000000
--- a/nios2-gdb/patches/patch-gdb_config_djgpp_djconfig_sh
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gdb_config_djgpp_djconfig_sh,v 1.1 2013/11/17 01:03:27 makoto Exp $
-
-ERROR: [check-portability.awk] => Found test ... == ...:
-
---- gdb/config/djgpp/djconfig.sh.orig	2013-06-26 06:02:26.000000000 +0900
-+++ gdb/config/djgpp/djconfig.sh	2013-11-17 08:34:03.000000000 +0900
-@@ -93,7 +93,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/nios2-gdb/patches/patch-gdb_corefile.c b/nios2-gdb/patches/patch-gdb_corefile.c
deleted file mode 100644
index 49a3905dc4..0000000000
--- a/nios2-gdb/patches/patch-gdb_corefile.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-gdb_corefile.c,v 1.1 2013/11/17 01:03:27 makoto Exp $
-
-workaround to avoid segmentation fault at getenv
-
---- gdb/corefile.c~	2013-06-26 06:02:27.000000000 +0900
-+++ gdb/corefile.c	2013-11-17 09:53:25.000000000 +0900
-@@ -457,7 +457,7 @@ Use `set gnutarget auto' to specify auto
- 				   show_gnutarget_string,
- 				   &setlist, &showlist);
- 
--  if (getenv ("GNUTARGET"))
-+  if (0 && getenv ("GNUTARGET"))
-     set_gnutarget (getenv ("GNUTARGET"));
-   else
-     set_gnutarget ("auto");


Home | Main Index | Thread Index | Old Index