pkgsrc-WIP-changes archive

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

gdb-git: Drop local patches



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 25 00:41:53 2016 +0200
Changeset:	8f150fc1346c06d7cb1abfff0ed3ebd380e1a10f

Modified Files:
	gdb-git/distinfo
Removed Files:
	gdb-git/patches/patch-ao
	gdb-git/patches/patch-gdb_bsd-kvm.c
	gdb-git/patches/patch-gdb_ppcnbsd-nat.c
	gdb-git/patches/patch-opcodes_i386-dis_c
	gdb-git/patches/patch-sim_ppc_emul_netbsd.c

Log Message:
gdb-git: Drop local patches

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

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

diffstat:
 gdb-git/distinfo                            |  5 ----
 gdb-git/patches/patch-ao                    | 16 ------------
 gdb-git/patches/patch-gdb_bsd-kvm.c         | 33 ------------------------
 gdb-git/patches/patch-gdb_ppcnbsd-nat.c     | 38 ----------------------------
 gdb-git/patches/patch-opcodes_i386-dis_c    | 13 ----------
 gdb-git/patches/patch-sim_ppc_emul_netbsd.c | 39 -----------------------------
 6 files changed, 144 deletions(-)

diffs:
diff --git a/gdb-git/distinfo b/gdb-git/distinfo
index f6a1c64..9559db4 100644
--- a/gdb-git/distinfo
+++ b/gdb-git/distinfo
@@ -3,8 +3,3 @@ $NetBSD: distinfo,v 1.10 2015/03/15 14:22:19 bsiegert Exp $
 SHA1 (gdb-7.9.tar.gz) = 8f89aa6847dc87de2f720779a87ba360bdbc7efd
 RMD160 (gdb-7.9.tar.gz) = 939dda771a073e82e7d72fd584246f3d1d8e9bdc
 Size (gdb-7.9.tar.gz) = 33225783 bytes
-SHA1 (patch-ao) = fe55dc7245f438fccb7965ceb220be951f85a535
-SHA1 (patch-gdb_bsd-kvm.c) = 837614b107181f79fd5c018ebd76a9010e5ab602
-SHA1 (patch-gdb_ppcnbsd-nat.c) = 94c9f552fd00e3641e7a0fa8372de538b4571d0b
-SHA1 (patch-opcodes_i386-dis_c) = 57b2b2ce85567faf112ec9f435b9aed0ffc943fb
-SHA1 (patch-sim_ppc_emul_netbsd.c) = 34fcb884c3c82e8eae6cd6f8c87ce42e9354c347
diff --git a/gdb-git/patches/patch-ao b/gdb-git/patches/patch-ao
deleted file mode 100644
index bedd873..0000000
--- a/gdb-git/patches/patch-ao
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ao,v 1.2 2015/03/15 14:22:19 bsiegert Exp $
-
-Avoid following ERROR:
-ERROR: [check-portability.awk] gdb/config/djgpp/djconfig.sh: if test "`pwd`" == "${srcdir}" ; then
-
---- gdb/config/djgpp/djconfig.sh.orig	2015-02-19 11:58:07.000000000 +0000
-+++ gdb/config/djgpp/djconfig.sh
-@@ -92,7 +92,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/gdb-git/patches/patch-gdb_bsd-kvm.c b/gdb-git/patches/patch-gdb_bsd-kvm.c
deleted file mode 100644
index b7d58f9..0000000
--- a/gdb-git/patches/patch-gdb_bsd-kvm.c
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-gdb_bsd-kvm.c,v 1.3 2015/03/15 14:22:20 bsiegert Exp $
-
-(1) (unknown yet)
-(2) +#include <sys/signal.h> part:
-NetBSD/i386 5.2 has following problem without sys/signal.h
-from bsd-kvm.c:36:
-/usr/include/sys/signalvar.h:56: error: field 'sd_sigact' has incomplete type
-/usr/include/sys/signalvar.h:59: error: 'NSIG' undeclared here (not in a function)
-gmake[2]: *** [bsd-kvm.o] Error 1
-
---- gdb/bsd-kvm.c.orig	2015-02-19 11:58:07.000000000 +0000
-+++ gdb/bsd-kvm.c
-@@ -28,7 +28,12 @@
- #include "gdbthread.h"
- 
- #include <fcntl.h>
-+#include <stddef.h>
- #include <kvm.h>
-+#define _KMEMUSER 1
-+#include <sys/signal.h>
-+#include <lwp.h>
-+#include <sys/lwp.h>
- #ifdef HAVE_NLIST_H
- #include <nlist.h>
- #endif
-@@ -36,6 +41,7 @@
- #include "readline/readline.h"
- #include <sys/param.h>
- #include <sys/proc.h>
-+#include <sys/types.h>
- #include <sys/user.h>
- 
- #include "bsd-kvm.h"
diff --git a/gdb-git/patches/patch-gdb_ppcnbsd-nat.c b/gdb-git/patches/patch-gdb_ppcnbsd-nat.c
deleted file mode 100644
index 4023259..0000000
--- a/gdb-git/patches/patch-gdb_ppcnbsd-nat.c
+++ /dev/null
@@ -1,38 +0,0 @@
-$NetBSD: patch-gdb_ppcnbsd-nat.c,v 1.2 2015/03/15 14:22:20 bsiegert Exp $
-
-Absorb membername difference.
-
---- gdb/ppcnbsd-nat.c.orig	2015-02-19 11:58:07.000000000 +0000
-+++ gdb/ppcnbsd-nat.c
-@@ -160,20 +160,20 @@ ppcnbsd_supply_pcb (struct regcache *reg
-     return 0;
- 
-   read_memory (pcb->pcb_sp, (gdb_byte *)&sf, sizeof sf);
--  regcache_raw_supply (regcache, tdep->ppc_cr_regnum, &sf.cr);
--  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 2, &sf.fixreg2);
-+  regcache_raw_supply (regcache, tdep->ppc_cr_regnum, &sf.sf_cr);
-+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 2, &sf.sf_fixreg2);
-   for (i = 0 ; i < 19 ; i++)
-     regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 13 + i,
--			 &sf.fixreg[i]);
-+			 &sf.sf_fixreg[i]);
- 
--  read_memory(sf.sp, (gdb_byte *)&cf, sizeof(cf));
--  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 30, &cf.r30);
--  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 31, &cf.r31);
--  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 1, &cf.sp);
--
--  read_memory(cf.sp, (gdb_byte *)&cf, sizeof(cf));
--  regcache_raw_supply (regcache, tdep->ppc_lr_regnum, &cf.lr);
--  regcache_raw_supply (regcache, gdbarch_pc_regnum (gdbarch), &cf.lr);
-+  read_memory(sf.sf_sp, (gdb_byte *)&cf, sizeof(cf));
-+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 30, &cf.cf_r30);
-+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 31, &cf.cf_r31);
-+  regcache_raw_supply (regcache, tdep->ppc_gp0_regnum + 1, &cf.cf_sp);
-+
-+  read_memory(cf.cf_sp, (gdb_byte *)&cf, sizeof(cf));
-+  regcache_raw_supply (regcache, tdep->ppc_lr_regnum, &cf.cf_lr);
-+  regcache_raw_supply (regcache, gdbarch_pc_regnum (gdbarch), &cf.cf_lr);
- 
-   return 1;
- }
diff --git a/gdb-git/patches/patch-opcodes_i386-dis_c b/gdb-git/patches/patch-opcodes_i386-dis_c
deleted file mode 100644
index 2812dad..0000000
--- a/gdb-git/patches/patch-opcodes_i386-dis_c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-opcodes_i386-dis_c,v 1.2 2015/03/15 14:22:20 bsiegert Exp $
-
---- opcodes/i386-dis.c.orig	2015-02-19 11:58:08.000000000 +0000
-+++ opcodes/i386-dis.c
-@@ -13586,7 +13586,7 @@ dofloat (int sizeflag)
- static void
- oappend_maybe_intel (const char *s)
- {
--  oappend (s + intel_syntax);
-+  oappend (s[(short)intel_syntax]);
- }
- 
- static void
diff --git a/gdb-git/patches/patch-sim_ppc_emul_netbsd.c b/gdb-git/patches/patch-sim_ppc_emul_netbsd.c
deleted file mode 100644
index 7af4d98..0000000
--- a/gdb-git/patches/patch-sim_ppc_emul_netbsd.c
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-sim_ppc_emul_netbsd.c,v 1.2 2015/03/15 14:22:20 bsiegert Exp $
-
-time_t conversion compatibility, experimental.
-Please correct the naming, thank you.
-
---- sim/ppc/emul_netbsd.c.orig	2014-06-11 16:34:42.000000000 +0000
-+++ sim/ppc/emul_netbsd.c
-@@ -118,6 +118,7 @@ extern int errno;
- 
- #if WITH_NetBSD_HOST
- #define SYS(X) ASSERT(call == (SYS_##X))
-+#define SYSSYS(X) ASSERT(call == (SYS___##X50))
- #else
- #define SYS(X)
- #endif
-@@ -737,7 +738,11 @@ do_gettimeofday(os_emul_data *emul,
-   if (WITH_TRACE && ppc_trace[trace_os_emul])
-     printf_filtered ("0x%lx, 0x%lx", (long)t_addr, (long)tz_addr);
- 
-+#if 0
-   SYS(gettimeofday);
-+#else
-+  SYS___gettimeofday50;
-+#endif
-   emul_write_status(processor, status, err);
-   if (status == 0) {
-     if (t_addr != 0)
-@@ -767,7 +772,11 @@ do_getrusage(os_emul_data *emul,
-   if (WITH_TRACE && ppc_trace[trace_os_emul])
-     printf_filtered ("%d, 0x%lx", who, (long)rusage_addr);
- 
-+#if 0
-   SYS(getrusage);
-+#else
-+  SYS___getrusage50;
-+#endif
-   emul_write_status(processor, status, err);
-   if (status == 0) {
-     if (rusage_addr != 0)


Home | Main Index | Thread Index | Old Index