Browse Source

gdb: Updated (7.7.1 -> 7.11)

tc-work-musl
Nagy Károly Gábriel 8 years ago
committed by Nagy Károly Gábriel
parent
commit
ccd3be1fef
Signed by: karasz GPG Key ID: C6BA1070A8CBDA0C
4 changed files with 14 additions and 69 deletions
  1. +3
    -9
      develop/gdb/gdb.conf
  2. +3
    -3
      develop/gdb/gdb.desc
  3. +8
    -8
      develop/gdb/installed-by-binutils.patch
  4. +0
    -49
      develop/gdb/legacy_sus.patch

+ 3
- 9
develop/gdb/gdb.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gdb/gdb.conf
# Copyright (C) 2013 - 2015 The OpenSDE Project
# Copyright (C) 2013 - 2016 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -17,12 +17,6 @@
var_remove confopt " " "--enable-shared"
var_remove confopt " " "--disable-static"
hook_add inmake 5 "eval $MAKE DESTDIR=$root -C gdb/doc install-info"
var_append confopt ' ' '--disable-nls --with-system-readline'
pkginstalled expat || var_append extraconfopt " " "--with-expat=no"
pkg_gdb_postmake() {
# create directory where other packages should put gdb plugins
mkdir -p $root$datadir/gdb/auto-load$libdir
add_flist "$root$datadir/gdb/auto-load"
add_flist "$root$datadir/gdb/auto-load/$prefix"
add_flist "$root$datadir/gdb/auto-load$libdir"
}
hook_add postmake 5 'pkg_gdb_postmake'

+ 3
- 3
develop/gdb/gdb.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../gdb/gdb.desc
[COPY] Copyright (C) 2006 - 2014 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2016 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -31,8 +31,8 @@
[L] GPL
[S] Stable
[V] 7.7.1
[V] 7.11
[P] X -?-3-----9 500.500
[D] 2946293482 gdb-7.7.1.tar.bz2 ftp://sources.redhat.com/pub/gdb/releases/
[D] 2196354200 gdb-7.11.tar.gz http://ftp.gnu.org/gnu/gdb/

+ 8
- 8
develop/gdb/installed-by-binutils.patch

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gdb/installed-by-binutils.patch
# Copyright (C) 2011 The OpenSDE Project
# Copyright (C) 2011 - 2016 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -59,15 +59,15 @@ diff --git gdb-7.3/etc/Makefile.in gdb-7.3/etc/Makefile.in
index 0d19c13..31681a1 100644
--- gdb-7.3/etc/Makefile.in
+++ gdb-7.3/etc/Makefile.in
@@ -64,7 +64,7 @@ PDFFILES = standards.pdf configure.pdf
HTMLFILES = standards.html configure.html
all: info
-install install-strip: install-info
@@ -68,7 +68,7 @@
dist:
check:
info html dvi ps pdf:
-install install-strip install-info install-html install-pdf:
+install install-strip:
installcheck:
uninstall:
TAGS:
diff --git gdb-7.3/libiberty/Makefile.in gdb-7.3/libiberty/Makefile.in
index ef35453..39ed818 100644
--- gdb-7.3/libiberty/Makefile.in

+ 0
- 49
develop/gdb/legacy_sus.patch

@ -1,49 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gdb/legacy_sus.patch
# Copyright (C) 2010 - 2014 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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.
# --- SDE-COPYRIGHT-NOTE-END ---
usleep() was deprecated by SUSv3 and newer LIBCs are starting to enforce that
deprecation.
--- a/gdb/linux-nat.c 2013-12-08 05:33:13.000000000 +0100
+++ b/gdb/linux-nat.c 2014-01-30 14:22:29.774178121 +0100
@@ -68,6 +68,8 @@
#include "buffer.h"
#include "target-descriptions.h"
+#include <time.h> /* for nanosleep */
+
#ifndef SPUFS_MAGIC
#define SPUFS_MAGIC 0x23c9b64e
#endif
@@ -633,6 +635,7 @@
sigset_t prev_mask;
int has_vforked;
int parent_pid, child_pid;
+ struct timespec t;
block_child_signals (&prev_mask);
@@ -842,7 +845,9 @@
"LCFF: no VFORK_DONE "
"support, sleeping a bit\n");
- usleep (10000);
+ t.tv_sec = 0;
+ t.tv_nsec = 10000000L;
+ nanosleep(&t, NULL);
/* Pretend we've seen a PTRACE_EVENT_VFORK_DONE event,
and leave it pending. The next linux_nat_resume call

Loading…
Cancel
Save