|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Filename: package/.../gdb/legacy_sus.patch
|
|
|
|
# Filename: package/.../gdb/legacy_sus.patch
|
|
|
|
# Copyright (C) 2010 - 2012 The OpenSDE Project
|
|
|
|
# Copyright (C) 2010 - 2014 The OpenSDE Project
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -17,19 +17,18 @@ |
|
|
|
usleep() was deprecated by SUSv3 and newer LIBCs are starting to enforce that
|
|
|
|
usleep() was deprecated by SUSv3 and newer LIBCs are starting to enforce that
|
|
|
|
deprecation.
|
|
|
|
deprecation.
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
|
|
|
|
--- a/gdb/linux-nat.c 2013-12-08 05:33:13.000000000 +0100
|
|
|
|
index 44a2a21..4e70f80 100644
|
|
|
|
+++ b/gdb/linux-nat.c 2014-01-30 14:22:29.774178121 +0100
|
|
|
|
--- a/gdb/linux-nat.c
|
|
|
|
@@ -68,6 +68,8 @@
|
|
|
|
+++ b/gdb/linux-nat.c
|
|
|
|
|
|
|
|
@@ -66,6 +66,7 @@
|
|
|
|
|
|
|
|
#include "exceptions.h"
|
|
|
|
|
|
|
|
#include "linux-ptrace.h"
|
|
|
|
|
|
|
|
#include "buffer.h"
|
|
|
|
#include "buffer.h"
|
|
|
|
+#include <time.h> /* for nanosleep */
|
|
|
|
#include "target-descriptions.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+#include <time.h> /* for nanosleep */
|
|
|
|
|
|
|
|
+
|
|
|
|
#ifndef SPUFS_MAGIC
|
|
|
|
#ifndef SPUFS_MAGIC
|
|
|
|
#define SPUFS_MAGIC 0x23c9b64e
|
|
|
|
#define SPUFS_MAGIC 0x23c9b64e
|
|
|
|
@@ -625,6 +626,7 @@
|
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -633,6 +635,7 @@
|
|
|
|
sigset_t prev_mask;
|
|
|
|
sigset_t prev_mask;
|
|
|
|
int has_vforked;
|
|
|
|
int has_vforked;
|
|
|
|
int parent_pid, child_pid;
|
|
|
|
int parent_pid, child_pid;
|
|
|
@ -37,7 +36,7 @@ index 44a2a21..4e70f80 100644 |
|
|
|
|
|
|
|
|
|
|
|
block_child_signals (&prev_mask);
|
|
|
|
block_child_signals (&prev_mask);
|
|
|
|
|
|
|
|
|
|
|
|
@@ -841,7 +843,9 @@
|
|
|
|
@@ -842,7 +845,9 @@
|
|
|
|
"LCFF: no VFORK_DONE "
|
|
|
|
"LCFF: no VFORK_DONE "
|
|
|
|
"support, sleeping a bit\n");
|
|
|
|
"support, sleeping a bit\n");
|
|
|
|
|
|
|
|
|
|
|
|