pkgsrc-WIP-changes archive

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

edb-debugger-git: Include PlatformCommon in NetBSD (copied from Linux)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Feb 19 00:31:42 2017 +0100
Changeset:	7f36f7a72d46c21c710a5c04ede59a9209c44ded

Modified Files:
	edb-debugger-git/distinfo
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h
Added Files:
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.cpp
	edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.h

Log Message:
edb-debugger-git: Include PlatformCommon in NetBSD (copied from Linux)

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

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

diffstat:
 edb-debugger-git/distinfo                          |  22 +--
 ...ugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp |   2 +-
 ...plugins_DebuggerCore_unix_netbsd_DebuggerCore.h |   2 +-
 ...ins_DebuggerCore_unix_netbsd_PlatformCommon.cpp | 194 +++++++++++++++++++++
 ...ugins_DebuggerCore_unix_netbsd_PlatformCommon.h | 102 +++++++++++
 ...gins_DebuggerCore_unix_netbsd_PlatformEvent.cpp |   2 +-
 ...lugins_DebuggerCore_unix_netbsd_PlatformEvent.h |   2 +-
 ...ns_DebuggerCore_unix_netbsd_PlatformProcess.cpp |   2 +-
 ...gins_DebuggerCore_unix_netbsd_PlatformProcess.h |   2 +-
 ...ins_DebuggerCore_unix_netbsd_PlatformRegion.cpp |   2 +-
 ...ugins_DebuggerCore_unix_netbsd_PlatformRegion.h |   2 +-
 ...gins_DebuggerCore_unix_netbsd_PlatformState.cpp |   2 +-
 ...lugins_DebuggerCore_unix_netbsd_PlatformState.h |   2 +-
 13 files changed, 318 insertions(+), 20 deletions(-)

diffs:
diff --git a/edb-debugger-git/distinfo b/edb-debugger-git/distinfo
index e850467af9..6899b1a2c5 100644
--- a/edb-debugger-git/distinfo
+++ b/edb-debugger-git/distinfo
@@ -6,16 +6,18 @@ SHA512 (edb-debugger-0.9.21.tar.gz) = 88a04cafb2c27a3af6bcfc48c841c795fb5bba348f
 Size (edb-debugger-0.9.21.tar.gz) = 996932 bytes
 SHA1 (patch-plugins_Assembler_DialogAssembler.cpp) = 2bd6418dc078aae0c84c6092f15619e202e43b31
 SHA1 (patch-plugins_DebuggerCore_CMakeLists.txt) = 18b3f0bd7c7c7ec4eaa6526c81b7c4299c7ee3f4
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp) = c89776102c7e6ec66700bd0a6a59e0247e9599ba
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h) = ff4c169d2df9093f7b218b444227a859e66e4451
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp) = 813bd82ae92d75cddb0935e0f94b782c9651eb40
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h) = 29673c512e29d26254f7cdc4d7c297284c552c43
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp) = 0551bc455a270142461fd97b6ed29feaa3980c38
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h) = 4a77fb33d59233b02709a38a44a062b392b9ee6a
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp) = 8b990e62c275c8b2fef309c64f95642d2d998416
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h) = 22c8d28700412c4b63e42275027929271d05484e
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp) = d3795d6464d05977fd728d4891845a4c8df9b812
-SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h) = 8a1994a86e8837034b2981bb2c3645f336fbeee4
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp) = 9806aea3878a64acf4112e2807c66c2ed0d15be9
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h) = 3a8135a25b022e8172c540c6d86112c3cefaf2b3
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.cpp) = 68c1ad8612bb8d4f27db36dbb7d6d9608265570d
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.h) = 28e5d625328c73330259c422fd9131aca4dabbd5
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp) = 392bd0c69ff2e4be7e0ba86548320cbf42362aa8
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h) = 53e40c6b0a7674a1e5e857633626a72afce5e930
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp) = 857d141c1819f8996465b77aeabd579e55007a00
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h) = a0ff2035ad1cf4990908feb8324b0d52ee0f621d
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp) = 5c8726af17343204ddc37eb19f5dc3f5588ff6dd
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h) = f7e567f4466074275d24852919b3cd9a8e3296a8
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp) = f7ae4ef00b6db91849044efd3ea56ebab4751400
+SHA1 (patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h) = 201f22f11b23c09de52ad3fab1a1c66938d04c89
 SHA1 (patch-plugins_HeapAnalyzer_DialogHeap.cpp) = a11c5aeb91168f4bf2f58fa35137fec2d5107ea4
 SHA1 (patch-plugins_ProcessProperties_DialogProcessProperties.cpp) = 31d9915e63a963fdd597dc141e3424fa8f05e81b
 SHA1 (patch-src_Debugger.cpp) = 6e680dfecf7fe690c3d557002515f21313b85ca7
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp
index c7a62e37be..37afcc7762 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/DebuggerCore.cpp.orig	2017-02-18 22:55:39.958904390 +0000
+--- plugins/DebuggerCore/unix/netbsd/DebuggerCore.cpp.orig	2017-02-18 23:29:40.659788563 +0000
 +++ plugins/DebuggerCore/unix/netbsd/DebuggerCore.cpp
 @@ -0,0 +1,596 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h
index c0fc0532ed..e15639366d 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_DebuggerCore.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/DebuggerCore.h.orig	2017-02-18 22:55:39.959854252 +0000
+--- plugins/DebuggerCore/unix/netbsd/DebuggerCore.h.orig	2017-02-18 23:29:40.665189223 +0000
 +++ plugins/DebuggerCore/unix/netbsd/DebuggerCore.h
 @@ -0,0 +1,110 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.cpp
new file mode 100644
index 0000000000..ebd1a22faf
--- /dev/null
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.cpp
@@ -0,0 +1,194 @@
+$NetBSD$
+
+--- plugins/DebuggerCore/unix/netbsd/PlatformCommon.cpp.orig	2017-02-18 23:31:07.331573062 +0000
++++ plugins/DebuggerCore/unix/netbsd/PlatformCommon.cpp
+@@ -0,0 +1,189 @@
++/*
++Copyright (C) 2015 - 2015 Evan Teran
++                          evan.teran%gmail.com@localhost
++
++This program is free software: you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation, either version 2 of the License, or
++(at your option) any later version.
++
++This program is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with this program.  If not, see <http://www.gnu.org/licenses/>.
++*/
++
++#include "PlatformCommon.h"
++#include <QFile>
++#include <QTextStream>
++#include <QRegExp>
++#include <QtDebug>
++#include <sys/wait.h>
++
++namespace DebuggerCorePlugin {
++
++//------------------------------------------------------------------------------
++// Name: resume_code
++// Desc:
++//------------------------------------------------------------------------------
++int resume_code(int status) {
++
++	if(WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP) {
++		return 0;
++	}
++
++	if(WIFSIGNALED(status)) {
++		return WTERMSIG(status);
++	}
++
++	if(WIFSTOPPED(status)) {
++		return WSTOPSIG(status);
++	}
++
++	return 0;
++}
++
++//------------------------------------------------------------------------------
++// Name: get_user_stat
++// Desc: gets the contents of /proc/<pid>/stat and returns the number of elements
++//       successfully parsed
++//------------------------------------------------------------------------------
++int get_user_stat(const QString &path, struct user_stat *user_stat) {
++	Q_ASSERT(user_stat);
++
++	int r = -1;
++	QFile file(path);
++	if(file.open(QIODevice::ReadOnly)) {
++		QTextStream in(&file);
++		const QString line = in.readLine();
++		if(!line.isNull()) {
++
++#if 1
++			QRegExp regex(QLatin1String(R"(^(-?[0-9]+) \((.+)\) (.) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) (-?[0-9]+) ([0-9]+) ([0-9]+) (-?[0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) (-?[0-9]+) (-?[0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) ([0-9]+) (-?[0-9]+))"));
++			int n = regex.indexIn(line);
++			if(n != -1) {
++				const QStringList &fields = regex.capturedTexts();
++
++				switch(regex.captureCount()) {
++				default:
++				case 44: user_stat->cguest_time           = fields[44].toLongLong();  // "%lld"
++				case 43: user_stat->guest_time            = fields[43].toULongLong(); // "%llu"
++				case 42: user_stat->delayacct_blkio_ticks = fields[42].toULongLong(); // "%llu"
++				case 41: user_stat->policy                = fields[41].toUInt();      // "%u"
++				case 40: user_stat->rt_priority           = fields[40].toUInt();      // "%u"
++				case 39: user_stat->processor             = fields[39].toInt();       // "%d"
++				case 38: user_stat->exit_signal           = fields[38].toInt();       // "%d"
++				case 37: user_stat->cnswap                = fields[37].toULongLong(); // "%llu"
++				case 36: user_stat->nswap                 = fields[36].toULongLong(); // "%llu"
++				case 35: user_stat->wchan                 = fields[35].toULongLong(); // "%llu"
++				case 34: user_stat->sigcatch              = fields[34].toULongLong(); // "%llu"
++				case 33: user_stat->sigignore             = fields[33].toULongLong(); // "%llu"
++				case 32: user_stat->blocked               = fields[32].toULongLong(); // "%llu"
++				case 31: user_stat->signal                = fields[31].toULongLong(); // "%llu"
++				case 30: user_stat->kstkeip               = fields[30].toULongLong(); // "%llu"
++				case 29: user_stat->kstkesp               = fields[29].toULongLong(); // "%llu"
++				case 28: user_stat->startstack            = fields[28].toULongLong(); // "%llu"
++				case 27: user_stat->endcode               = fields[27].toULongLong(); // "%llu"
++				case 26: user_stat->startcode             = fields[26].toULongLong(); // "%llu"
++				case 25: user_stat->rsslim                = fields[25].toULongLong(); // "%llu"
++				case 24: user_stat->rss                   = fields[24].toLongLong();  // "%lld"
++				case 23: user_stat->vsize                 = fields[23].toULongLong(); // "%llu"
++				case 22: user_stat->starttime             = fields[22].toULongLong(); // "%llu"
++				case 21: user_stat->itrealvalue           = fields[21].toLongLong();  // "%lld"
++				case 20: user_stat->num_threads           = fields[20].toLongLong();  // "%lld"
++				case 19: user_stat->nice                  = fields[19].toLongLong();  // "%lld"
++				case 18: user_stat->priority              = fields[18].toLongLong();  // "%lld"
++				case 17: user_stat->cstime                = fields[17].toLongLong();  // "%lld"
++				case 16: user_stat->cutime                = fields[16].toLongLong();  // "%lld"
++				case 15: user_stat->stime                 = fields[15].toULongLong(); // "%llu"
++				case 14: user_stat->utime                 = fields[14].toULongLong(); // "%llu"
++				case 13: user_stat->cmajflt               = fields[13].toULongLong(); // "%llu"
++				case 12: user_stat->majflt                = fields[12].toULongLong(); // "%llu"
++				case 11: user_stat->cminflt               = fields[11].toULongLong(); // "%llu"
++				case 10: user_stat->minflt                = fields[10].toULongLong(); // "%llu"
++				case  9: user_stat->flags                 = fields[9].toUInt();       // "%u"
++				case  8: user_stat->tpgid                 = fields[8].toInt();        // "%d"
++				case  7: user_stat->tty_nr                = fields[7].toInt();        // "%d"
++				case  6: user_stat->session               = fields[6].toInt();        // "%d"
++				case  5: user_stat->pgrp                  = fields[5].toInt();        // "%d"
++				case  4: user_stat->ppid                  = fields[4].toInt();        // "%d"
++				case  3: user_stat->state                 = fields[3][0].toLatin1();  // "%c"
++				case  2: snprintf(user_stat->comm, sizeof(user_stat->comm), "%s", qPrintable(fields[2]));
++				case  1: user_stat->pid                   = fields[1].toInt();        // "%d"
++					break;
++				case  0:
++					qDebug() << "Warning: Failed to read any fields from /proc/<pid>/stat";
++				}
++
++				return regex.captureCount();
++			}
++#else
++			char ch;
++			r = sscanf(qPrintable(line), "%d %c%255[0-9a-zA-Z_- #~/\\.]%c %c %d %d %d %d %d %u %llu %llu %llu %llu %llu %llu %lld %lld %lld %lld %lld %lld %llu %llu %lld %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %llu %d %d %u %u %llu %llu %lld",
++					&user_stat->pid,
++					&ch, // consume the (
++					user_stat->comm,
++					&ch, // consume the )
++					&user_stat->state,
++					&user_stat->ppid,
++					&user_stat->pgrp,
++					&user_stat->session,
++					&user_stat->tty_nr,
++					&user_stat->tpgid,
++					&user_stat->flags,
++					&user_stat->minflt,
++					&user_stat->cminflt,
++					&user_stat->majflt,
++					&user_stat->cmajflt,
++					&user_stat->utime,
++					&user_stat->stime,
++					&user_stat->cutime,
++					&user_stat->cstime,
++					&user_stat->priority,
++					&user_stat->nice,
++					&user_stat->num_threads,
++					&user_stat->itrealvalue,
++					&user_stat->starttime,
++					&user_stat->vsize,
++					&user_stat->rss,
++					&user_stat->rsslim,
++					&user_stat->startcode,
++					&user_stat->endcode,
++					&user_stat->startstack,
++					&user_stat->kstkesp,
++					&user_stat->kstkeip,
++					&user_stat->signal,
++					&user_stat->blocked,
++					&user_stat->sigignore,
++					&user_stat->sigcatch,
++					&user_stat->wchan,
++					&user_stat->nswap,
++					&user_stat->cnswap,
++					&user_stat->exit_signal,
++					&user_stat->processor,
++					&user_stat->rt_priority,
++					&user_stat->policy,
++					&user_stat->delayacct_blkio_ticks,
++					&user_stat->guest_time,
++					&user_stat->cguest_time);
++#endif
++		}
++		file.close();
++	}
++
++	return r;
++}
++
++//------------------------------------------------------------------------------
++// Name: get_user_stat
++// Desc: gets the contents of /proc/<pid>/stat and returns the number of elements
++//       successfully parsed
++//------------------------------------------------------------------------------
++int get_user_stat(edb::pid_t pid, struct user_stat *user_stat) {
++	return get_user_stat(QString("/proc/%1/stat").arg(pid), user_stat);
++}
++
++}
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.h
new file mode 100644
index 0000000000..cbb6620555
--- /dev/null
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformCommon.h
@@ -0,0 +1,102 @@
+$NetBSD$
+
+--- plugins/DebuggerCore/unix/netbsd/PlatformCommon.h.orig	2017-02-18 23:31:00.955171803 +0000
++++ plugins/DebuggerCore/unix/netbsd/PlatformCommon.h
+@@ -0,0 +1,97 @@
++/*
++Copyright (C) 2015 - 2015 Evan Teran
++                          evan.teran%gmail.com@localhost
++
++This program is free software: you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation, either version 2 of the License, or
++(at your option) any later version.
++
++This program is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with this program.  If not, see <http://www.gnu.org/licenses/>.
++*/
++
++#ifndef PLATFORM_COMMON_20151011_H_
++#define PLATFORM_COMMON_20151011_H_
++
++#include "edb.h"
++
++class QString;
++
++namespace DebuggerCorePlugin {
++
++struct user_stat {
++/* 01 */ int pid;
++/* 02 */ char comm[256];
++/* 03 */ char state;
++/* 04 */ int ppid;
++/* 05 */ int pgrp;
++/* 06 */ int session;
++/* 07 */ int tty_nr;
++/* 08 */ int tpgid;
++/* 09 */ unsigned flags;
++/* 10 */ unsigned long long minflt;
++/* 11 */ unsigned long long cminflt;
++/* 12 */ unsigned long long majflt;
++/* 13 */ unsigned long long cmajflt;
++/* 14 */ unsigned long long utime;
++/* 15 */ unsigned long long stime;
++/* 16 */ long long cutime;
++/* 17 */ long long cstime;
++/* 18 */ long long priority;
++/* 19 */ long long nice;
++/* 20 */ long long num_threads;
++/* 21 */ long long itrealvalue;
++/* 22 */ unsigned long long starttime;
++/* 23 */ unsigned long long vsize;
++/* 24 */ long long rss;
++/* 25 */ unsigned long long rsslim;
++/* 26 */ unsigned long long startcode;
++/* 27 */ unsigned long long endcode;
++/* 28 */ unsigned long long startstack;
++/* 29 */ unsigned long long kstkesp;
++/* 30 */ unsigned long long kstkeip;
++/* 31 */ unsigned long long signal;
++/* 32 */ unsigned long long blocked;
++/* 33 */ unsigned long long sigignore;
++/* 34 */ unsigned long long sigcatch;
++/* 35 */ unsigned long long wchan;
++/* 36 */ unsigned long long nswap;
++/* 37 */ unsigned long long cnswap;
++/* 38 */ int exit_signal;
++/* 39 */ int processor;
++/* 40 */ unsigned rt_priority;
++/* 41 */ unsigned policy;
++
++// Linux 2.6.18
++/* 42 */ unsigned long long delayacct_blkio_ticks;
++
++// Linux 2.6.24
++/* 43 */ unsigned long long guest_time;
++/* 44 */ long long cguest_time;
++
++// Linux 3.3
++/* 45 */ unsigned long long start_data;
++/* 46 */ unsigned long long end_data;
++/* 47 */ unsigned long long start_brk;
++
++// Linux 3.5
++/* 48 */ unsigned long long arg_start;
++/* 49 */ unsigned long long arg_end;
++/* 50 */ unsigned long long env_start;
++/* 51 */ unsigned long long env_end;
++/* 52 */ int exit_code;
++};
++
++int get_user_stat(const QString &path, struct user_stat *user_stat);
++int get_user_stat(edb::pid_t pid, struct user_stat *user_stat);
++int resume_code(int status);
++
++}
++
++#endif
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp
index e4c9ff9117..4237035c2b 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformEvent.cpp.orig	2017-02-18 22:55:39.960742083 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformEvent.cpp.orig	2017-02-18 23:29:40.670536255 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformEvent.cpp
 @@ -0,0 +1,258 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h
index 24f2075dfa..45ed033e86 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformEvent.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformEvent.h.orig	2017-02-18 22:55:39.961690298 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformEvent.h.orig	2017-02-18 23:29:40.675855400 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformEvent.h
 @@ -0,0 +1,62 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp
index f61e0a572d..3d1f9efc74 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformProcess.cpp.orig	2017-02-18 22:55:39.962587886 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformProcess.cpp.orig	2017-02-18 23:29:40.681119972 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformProcess.cpp
 @@ -0,0 +1,19 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h
index 007c7205fc..de9327a7fc 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformProcess.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformProcess.h.orig	2017-02-18 22:55:39.963467225 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformProcess.h.orig	2017-02-18 23:29:40.686362060 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformProcess.h
 @@ -0,0 +1,27 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp
index 9ad4564a2a..146e526102 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformRegion.cpp.orig	2017-02-18 22:55:39.964339943 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformRegion.cpp.orig	2017-02-18 23:29:40.691589984 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformRegion.cpp
 @@ -0,0 +1,96 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h
index 2e6e620ba0..24ca97402e 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformRegion.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformRegion.h.orig	2017-02-18 22:55:39.965208843 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformRegion.h.orig	2017-02-18 23:29:40.696877164 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformRegion.h
 @@ -0,0 +1,67 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp
index 0d11693a50..43427d79bd 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformState.cpp.orig	2017-02-18 22:55:39.966074010 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformState.cpp.orig	2017-02-18 23:29:40.702326185 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformState.cpp
 @@ -0,0 +1,392 @@
 +/*
diff --git a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h
index 5ecfb8de47..f7c705f238 100644
--- a/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h
+++ b/edb-debugger-git/patches/patch-plugins_DebuggerCore_unix_netbsd_PlatformState.h
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- plugins/DebuggerCore/unix/netbsd/PlatformState.h.orig	2017-02-18 22:55:39.966936896 +0000
+--- plugins/DebuggerCore/unix/netbsd/PlatformState.h.orig	2017-02-18 23:29:40.707634975 +0000
 +++ plugins/DebuggerCore/unix/netbsd/PlatformState.h
 @@ -0,0 +1,68 @@
 +/*


Home | Main Index | Thread Index | Old Index