summaryrefslogtreecommitdiff
path: root/sys-devel/gdb-apple
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-03 16:17:22 +0000
commit4cd2370bed609c118b6edfde5d3f116e5c35b897 (patch)
treeec58f2c41f49754e41521d5ebc9dce4597ddd0a5 /sys-devel/gdb-apple
parentf443475c824b4b5c086e6d040961cb35ad81bc60 (diff)
gentoo resync : 03.12.2017
Diffstat (limited to 'sys-devel/gdb-apple')
-rw-r--r--sys-devel/gdb-apple/Manifest4
-rw-r--r--sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch131
-rw-r--r--sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch22
-rw-r--r--sys-devel/gdb-apple/files/gdb-apple-563-darwin7.patch110
-rw-r--r--sys-devel/gdb-apple/files/gdb-apple-563-no-64bit.patch19
5 files changed, 0 insertions, 286 deletions
diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest
index bbf7bdf5c2dc..0feaccff47db 100644
--- a/sys-devel/gdb-apple/Manifest
+++ b/sys-devel/gdb-apple/Manifest
@@ -1,12 +1,8 @@
-AUX gdb-apple-1344-darwin8.patch 3606 BLAKE2B a8b145c00031f4a05965d7aa3faea56d3291417565f389795ac90e8bc0bda043c9dde200ce1b4badca806aabc06ece2beb5f89553109d2aad74abf44929088b6 SHA512 e98fd9a9d4d5969e868885fa467142eae0e3981eccc212fdfcd9b2d82c85d2e4f6aed50ad77227eb7ad24f71434f6f1564cf8ac49bdb9bc9898b85c2ea6ec45e
AUX gdb-apple-1461-darwin8.patch 3206 BLAKE2B 5923b0d1ca8a4f90aac5bd66af39affb70ebab41f3dfd07756c8ae61a949bc34d66d35e9d82b925f69b690b846454c01b2d1b49f3f462642fa8f15e1cb8c4321 SHA512 bbf8ff590bbc6225ba4a78813c36e239bc4bc50514ae59e024a2f4c54a79fa2e98db2313be8cc9bbb098f3df3b79b2e9925fda400879e196ac02071a8e9b1b93
AUX gdb-apple-1461-dyld-info.patch 503 BLAKE2B 419f776323e662d4c0a9871a19852743d5b061237aaf54e90395d7e4348d5b7d7b8df9547dd22f8470bc657276424a791fbe0fa089d08bdd07a26087ee65df20 SHA512 f697133fcad4b6d2c0492f3e800f02feb133526bbec548c966bf92dbb92df9cfa9e69fadcc2bf28898bdf6a90f3ef2480ff944101eb0d1e6566735d2278cf56e
AUX gdb-apple-1518-darwin8-9.patch 2260 BLAKE2B 29c00d40a6f34f2f602b0ecfaa4079b7e70cbc2a30d1bf93c6c93cb03168bb93a1af749b8631b05950863fa8d46b0060f9270f4980bab937aac50c8c738afb3c SHA512 7c079c480b3ed1e9d6cfed78ea87358988a4c72a0e89f4cd76e12b235e9451ab6ea77679ad0953f224e6c30ba0d078c5ce4e1a25f6bbd1134214dd721b0420b6
AUX gdb-apple-1518-darwin8.patch 3022 BLAKE2B e2c60e539fd81af137ac915a1c957ad62482686f196e941fcf9946f10682e35ecfe9438e04b6f0f9618b6fcb9c06ae363b97c2cf45cf1a13befad399b74df6c0 SHA512 efa100767336d0eba752d03d5d6ea6a77c80e40160208cd157abc444064c779f9d671e5a621cbeae8f7b2ae134e838e49a2726d1d9efcbd8421070a6b789679d
-AUX gdb-apple-1518-task_dyld_info.patch 557 BLAKE2B 6cb4ed12b5c51af609355f9ffe0414a2c46245fbc3c4371837e43128f0373348d991205720197479528e3ec2beb8e49bf5b32e680fceb81ce7ee1e58d804f500 SHA512 69ea8de6663c91b8587df903c5c8578586875d73b6fb2aeef37a98346e78d214814e794e6a294051fb3b82a9d450ab6e9a2b13265ae48b8ad3dfd80004d6caf5
AUX gdb-apple-1705-darwin8-10.patch 286 BLAKE2B f7f038e870aafe73ee79251bee1441e9186db898e211556212a53c1a0ec935059d1e16766d4bddffda980777c972bb661b09b6bb8973e6f3cc6b00008b37e3f3 SHA512 baf049e3a1e580faeb5b5481bbdda5cfd96abb22ec7dd2528986c4fa78113933565a9a1711f4dcf8bed9edd27190aa9f5f04d7df141b0eb1aa65b18b57915061
-AUX gdb-apple-563-darwin7.patch 3329 BLAKE2B 5ec000c7ef053960d17a904ec9736a1c59bf24d8b4fca28a80270da5af0c5cbcfa65c72afb1087598ea7ded54c20d76a243e17fcf7219a738400a56e4859b2e8 SHA512 5c12715998a039e114ae214848f4715848c6390f358d140b1886c52fc1ff376f8b26525c19b004ebbbda4c577a5a32d4909642943ceb5394fd8849d131aab626
-AUX gdb-apple-563-no-64bit.patch 767 BLAKE2B eedc1a35695cceb310ea88665fe345e0b0429ae068b73253b2515b8d924022dc5186708b1a1980fc67ab88fb187d4fad1515a60e877127e3a5d56e0d37572fa0 SHA512 79eb42ca51363276aec1dfc9c2580ad8524c826bcf0a0d2a0128ba671625d5546aad161ad2d368f71b5828b76965a27df0f4e47ab78e3b46c73553168af6b94a
AUX gdb-apple-768-darwin-arch.patch 571 BLAKE2B e77d26f86390b51758da726887b8cb376443a0bcf98225f5f8ee2de3b8e829f8b65380c67b83fb003b84822f12f0bbecddc4753fb6e3af3fc6672223bdc07443 SHA512 5d5345c0b9aab9610bfeb3adf98f92f2d132e198ce69278b8a7e35e59d9b45955b5eabd0cf2e6dd085a034369826804d833ec841726729a1272b06a8d7b8592b
AUX gdb-apple-768-texinfo.patch 487 BLAKE2B b429247205cb241c1b876d3477310b201ab9191d582daf2f40bae92f782680df3d60fbaf335ef5a91db7bab0fffd87ff8783813f1efca690ae255157f9f98464 SHA512 fb40c8c713e0cdd34df82b368fbae5b9cc4180a6519f303750d72181dcac31436f947fc01c6949bbfc8bf8a7be4459cb2083e821433c1c4e9a587e2171933b92
AUX gdb-apple-962-darwin64.patch 580 BLAKE2B e215baa922cce04b243546559d0136174b6148a3944eacb3099d1d2c30f187f808c5b102b12a5b7208209c8621b724b9288d57fa208f2b7143ebbe556732ef7d SHA512 2b940cfef9caeac9aa863ab53349de083026258458321108d54e4605d1030f496701e666a720e530d530ede0db7b59694f3fbc4ab28a6122ca1e28c03bbae8a2
diff --git a/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch
deleted file mode 100644
index c95f02e0fe2e..000000000000
--- a/sys-devel/gdb-apple/files/gdb-apple-1344-darwin8.patch
+++ /dev/null
@@ -1,131 +0,0 @@
---- src/gdb/symfile.c.orig 2009-09-25 09:00:15 +0200
-+++ src/gdb/symfile.c 2009-09-25 09:00:18 +0200
-@@ -67,7 +67,6 @@
- #include <ctype.h>
- #include <time.h>
- #include <sys/time.h>
--#include <libgen.h>
-
- #include <sys/mman.h>
-
---- src/gdb/utils.c.orig 2009-09-25 09:06:29 +0200
-+++ src/gdb/utils.c 2009-09-25 09:46:24 +0200
-@@ -27,7 +27,6 @@
- #include "gdb_string.h"
- #include "event-top.h"
- #include "exceptions.h"
--#include <execinfo.h>
-
- #ifdef TUI
- #include "tui/tui.h" /* For tui_get_command_dimension. */
-@@ -878,6 +877,7 @@
- target_terminal_ours ();
- begin_line ();
-
-+#if 0
- /* APPLE LOCAL: Do a stack crawl of how we got here so we're more likely
- to get useful bug reports. */
- {
-@@ -886,6 +886,7 @@
- fprintf (stderr, "gdb stack crawl at point of internal error:\n");
- backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO);
- }
-+#endif
-
- /* Create a string containing the full error/warning message. Need
- to call query with this full string, as otherwize the reason
---- src/gdb/remote.c.orig 2009-09-25 09:31:58 +0200
-+++ src/gdb/remote.c 2009-09-25 09:48:18 +0200
-@@ -61,7 +61,6 @@
- #ifdef MACOSX_DYLD
- #include "macosx-nat-dyld.h"
- #endif
--#include <execinfo.h>
-
- /* Prototypes for local functions. */
- static void cleanup_sigint_signal_handler (void *dummy);
-@@ -483,10 +482,12 @@
- static void
- remote_backtrace_self ()
- {
-+#if 0
- void *bt_buffer[10];
- int count = backtrace (bt_buffer, 10);
- fprintf_filtered (gdb_stderr, "gdb stack crawl at point of invalid hex digit:\n");
- backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO);
-+#endif
- }
-
- static void
---- src/gdb/macosx/macosx-tdep.c.orig 2009-09-25 09:09:00 +0200
-+++ src/gdb/macosx/macosx-tdep.c 2009-09-25 09:09:12 +0200
-@@ -61,7 +61,6 @@
- #include "exceptions.h"
-
- #include <dirent.h>
--#include <libgen.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/param.h>
---- src/gdb/macosx/macosx-nat-inferior.c.orig 2009-09-25 09:12:44 +0200
-+++ src/gdb/macosx/macosx-nat-inferior.c 2009-09-25 09:13:24 +0200
-@@ -62,8 +62,10 @@
- #include <semaphore.h>
-
- #include <dlfcn.h>
-+#if 0
- #include <libproc.h>
- #include <sys/proc_info.h>
-+#endif
-
- #include "macosx-nat-dyld.h"
- #include "macosx-nat-inferior.h"
-@@ -3261,8 +3263,10 @@
- int_flags |= RTLD_NOLOAD;
- if (strstr (flags, "RTLD_NODELETE") != NULL)
- int_flags |= RTLD_NODELETE;
-+#ifdef RTLD_FIRST
- if (strstr (flags, "RTLD_FIRST") != NULL)
- int_flags |= RTLD_FIRST;
-+#endif
- }
-
- /* If the user didn't pass in anything, set some sensible defaults. */
---- src/gdb/macosx/macosx-nat-infthread.c.orig 2009-09-25 09:14:01 +0200
-+++ src/gdb/macosx/macosx-nat-infthread.c 2009-09-25 09:14:19 +0200
-@@ -36,8 +36,10 @@
- #include <sys/dir.h>
- #include <inttypes.h>
-
-+#if 0
- #include <libproc.h>
- #include <sys/proc_info.h>
-+#endif
-
- #include "macosx-nat-inferior.h"
- #include "macosx-nat-inferior-util.h"
---- src/gdb/macosx/macosx-nat-info.c.orig 2009-09-25 09:16:50 +0200
-+++ src/gdb/macosx/macosx-nat-info.c 2009-09-25 09:31:12 +0200
-@@ -45,6 +45,22 @@
- #include "macosx-nat-inferior.h"
- #include "macosx-nat-inferior-debug.h"
-
-+#ifdef __ppc__
-+#ifndef __darwin_ppc_thread_state
-+#define __darwin_ppc_thread_state ppc_thread_state
-+#define __r0 r0
-+#define __srr0 srr0
-+#define __srr1 srr1
-+#define __cr cr
-+#define __xer xer
-+#define __lr lr
-+#define __ctr ctr
-+#endif
-+#ifndef __darwin_ppc_exception_state
-+#define __darwin_ppc_exception_state ppc_exception_state
-+#endif
-+#endif
-+
- extern macosx_inferior_status *macosx_status;
-
- #define CHECK_ARGS(what, args) \
diff --git a/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch b/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch
deleted file mode 100644
index 633a36a7a048..000000000000
--- a/sys-devel/gdb-apple/files/gdb-apple-1518-task_dyld_info.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-If dyld-info is not available, don't try to compile unreachable code
-using it either.
-
---- gdb-1518/src/gdb/macosx/macosx-nat-dyld.c
-+++ gdb-1518/src/gdb/macosx/macosx-nat-dyld.c
-@@ -779,7 +779,7 @@
- {
- #if !defined (TASK_DYLD_INFO)
- return 0;
--#endif
-+#else
- if (macosx_status->task == TASK_NULL)
- return 0;
-
-@@ -799,6 +799,7 @@
- task_dyld_info.all_image_info_size == 0)
- return 0;
- s->dyld_image_infos = task_dyld_info.all_image_info_addr;
-+#endif /* TASK_DYLD_INFO */
- }
- #endif /* NM_NEXTSTEP */
-
diff --git a/sys-devel/gdb-apple/files/gdb-apple-563-darwin7.patch b/sys-devel/gdb-apple/files/gdb-apple-563-darwin7.patch
deleted file mode 100644
index bd5061d41fc0..000000000000
--- a/sys-devel/gdb-apple/files/gdb-apple-563-darwin7.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-* Fabian Groffen <grobian@gentoo.org>
- Mac OS X Panther (10.3) doesn't have mach_vm_size_t yet, and
- apparently this was forseen in macosx-nat-inferior-debug.c. However,
- macosx-nat-inferior-debug.h also uses the provided types, hence we
- move the backwards-compatibility logic to the .h file.
-
-* Fabian Groffen <grobian@gentoo.org>
- On Mac OS X Panther (10.3) an older version of the Launch Services is
- available, which doesn't cover the requirements made by Xcode here.
- Because it's for Xcode only, and we don't use it on Gentoo, we just
- enable the functionality that doesn't compile on 10.3.
-
---- gdb/macosx/macosx-nat-inferior-debug.c
-+++ gdb/macosx/macosx-nat-inferior-debug.c
-@@ -53,24 +53,6 @@
-
- #include <AvailabilityMacros.h>
-
--#define MACH64 (MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)
--
--#if MACH64
--
--#include <mach/mach_vm.h>
--
--#else /* ! MACH64 */
--
--#define mach_vm_size_t vm_size_t
--#define mach_vm_address_t vm_address_t
--#define mach_vm_read vm_read
--#define mach_vm_write vm_write
--#define mach_vm_region vm_region
--#define VM_REGION_BASIC_INFO_COUNT_64 VM_REGION_BASIC_INFO_COUNT
--#define VM_REGION_BASIC_INFO_64 VM_REGION_BASIC_INFO
--
--#endif /* MACH64 */
--
- FILE *inferior_stderr = NULL;
- int inferior_debug_flag = 0;
- int timestamps_debug_flag = 0;
---- gdb/macosx/macosx-nat-inferior-debug.h
-+++ gdb/macosx/macosx-nat-inferior-debug.h
-@@ -6,6 +6,24 @@
-
- #include "defs.h"
-
-+#define MACH64 (MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)
-+
-+#if MACH64
-+
-+#include <mach/mach_vm.h>
-+
-+#else /* ! MACH64 */
-+
-+#define mach_vm_size_t vm_size_t
-+#define mach_vm_address_t vm_address_t
-+#define mach_vm_read vm_read
-+#define mach_vm_write vm_write
-+#define mach_vm_region vm_region
-+#define VM_REGION_BASIC_INFO_COUNT_64 VM_REGION_BASIC_INFO_COUNT
-+#define VM_REGION_BASIC_INFO_64 VM_REGION_BASIC_INFO
-+
-+#endif /* MACH64 */
-+
- extern FILE *inferior_stderr;
- extern int inferior_debug_flag;
-
---- gdb/macosx/macosx-tdep.c
-+++ gdb/macosx/macosx-tdep.c
-@@ -413,6 +413,7 @@
- } BabelAESelInfo;
- #pragma options align=reset
-
-+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)
- static int
- open_file_with_LS (const char *file_path, int lineno)
- {
-@@ -538,7 +539,9 @@
-
- return 1;
- }
-+#endif
-
-+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)
- /* Opens the file pointed to in ARGS with the default editor
- given by LaunchServices. If ARGS is NULL, opens the current
- source file & line. You can also supply file:line and it will
-@@ -609,6 +612,7 @@
-
- open_file_with_LS (filename, line_no);
- }
-+#endif
-
- void
- _initialize_macosx_tdep ()
-@@ -618,13 +622,15 @@
-
- add_info ("trampoline", info_trampoline_command,
- "Resolve function for DYLD trampoline stub and/or Objective-C call");
-+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= 1040)
- c = add_com ("open", class_support, open_command, _("\
- Open the named source file in an application determined by LaunchServices.\n\
- With no arguments, open the currently selected source file.\n\
- Also takes file:line to hilight the file at the given line."));
- set_cmd_completer (c, filename_completer);
- add_com_alias ("op", "open", class_support, 1);
- add_com_alias ("ope", "open", class_support, 1);
-+#endif
-
- add_com ("flushstack", class_maintenance, stack_flush_command,
- "Force gdb to flush its stack-frame cache (maintainer command)");
diff --git a/sys-devel/gdb-apple/files/gdb-apple-563-no-64bit.patch b/sys-devel/gdb-apple/files/gdb-apple-563-no-64bit.patch
deleted file mode 100644
index 952f5b337871..000000000000
--- a/sys-devel/gdb-apple/files/gdb-apple-563-no-64bit.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-* Fabian Groffen <grobian@gentoo.org>
- On Gentoo, when the user doesn't have a 64-bits capable CPU, we
- compile GCC without multi-lib support. Hence, 64-bits defines are not
- available so we better not use them if we don't have __ppc64__
- defined.
-
---- gdb/macosx/macosx-nat-dyld.c
-+++ gdb/macosx/macosx-nat-dyld.c
-@@ -619,8 +619,10 @@
- structures. */
- if (header.cputype == CPU_TYPE_POWERPC || header.cputype == CPU_TYPE_I386)
- osabi_seen_in_attached_dyld = GDB_OSABI_DARWIN;
-+#if defined(__ppc64__)
- if (header.cputype == CPU_TYPE_POWERPC64 || header.cputype == GDB_CPU_TYPE_X86_64)
- osabi_seen_in_attached_dyld = GDB_OSABI_DARWIN64;
-+#endif
- }
-
- /* Once we know the address at which dyld was loaded, we can try to