diff options
author | 2019-01-10 15:28:05 +0100 | |
---|---|---|
committer | 2019-01-10 15:28:25 +0100 | |
commit | 03ca854695bdb9ed363b0b32593acbdd0f3d04cc (patch) | |
tree | 4ca3adaa5a7078d17ea38ef17d47409318148ea2 /sys-devel/gdb-apple/files | |
parent | sys-devel/gdb-apple: use system readline iso bundled one (diff) | |
download | gentoo-03ca854695bdb9ed363b0b32593acbdd0f3d04cc.tar.gz gentoo-03ca854695bdb9ed363b0b32593acbdd0f3d04cc.tar.bz2 gentoo-03ca854695bdb9ed363b0b32593acbdd0f3d04cc.zip |
sys-devel/gdb-apple: remove obviated versions
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-devel/gdb-apple/files')
6 files changed, 0 insertions, 219 deletions
diff --git a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch deleted file mode 100644 index c89c82a0d18c..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-1461-darwin8.patch +++ /dev/null @@ -1,128 +0,0 @@ ---- a/gdb/macosx/macosx-nat-inferior.c -+++ b/gdb/macosx/macosx-nat-inferior.c -@@ -60,13 +60,17 @@ - #include <sys/sysctl.h> - #include <sys/proc.h> - #include <mach/mach_error.h> -+#if defined(TARGET_ARM) - #include <spawn.h> -+#endif - - #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" ---- a/gdb/macosx/macosx-nat-info.c -+++ b/gdb/macosx/macosx-nat-info.c -@@ -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) \ ---- a/gdb/macosx/macosx-nat-infthread.c -+++ b/gdb/macosx/macosx-nat-infthread.c -@@ -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" ---- a/gdb/macosx/macosx-tdep.c -+++ b/gdb/macosx/macosx-tdep.c -@@ -63,7 +63,6 @@ - #include "gdbcore.h" - - #include <dirent.h> --#include <libgen.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <sys/param.h> ---- a/gdb/remote.c -+++ b/gdb/remote.c -@@ -62,7 +62,6 @@ - #include "macosx-nat-dyld.h" - #include "macosx-nat-dyld-process.h" - #endif --#include <execinfo.h> - - /* Prototypes for local functions. */ - static void cleanup_sigint_signal_handler (void *dummy); -@@ -474,11 +473,13 @@ - static void - remote_backtrace_self (const char *message) - { -+#if 0 - void *bt_buffer[100]; - int count = backtrace (bt_buffer, 100); - if (message && message[0]) - fprintf_filtered (gdb_stderr, "%s", message); - backtrace_symbols_fd (bt_buffer, count, STDERR_FILENO); -+#endif - } - - static void ---- a/gdb/symfile.c -+++ b/gdb/symfile.c -@@ -67,7 +67,6 @@ - #include <ctype.h> - #include <time.h> - #include <sys/time.h> --#include <libgen.h> - - #include <sys/mman.h> - ---- a/gdb/utils.c -+++ b/gdb/utils.c -@@ -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. */ -@@ -874,6 +873,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. */ - { -@@ -882,6 +882,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 diff --git a/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch b/sys-devel/gdb-apple/files/gdb-apple-1461-dyld-info.patch deleted file mode 100644 index fb9ca9c74115..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-1461-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. - ---- a/gdb/macosx/macosx-nat-dyld.c -+++ b/gdb/macosx/macosx-nat-dyld.c -@@ -731,7 +731,7 @@ - { - #if !defined (TASK_DYLD_INFO) || !defined (NM_NEXTSTEP) - return 0; --#endif -+#else - - if (target_is_remote () || value == NULL) - return 0; -@@ -791,6 +791,7 @@ - } - #endif /* NM_NEXTSTEP */ - return 0; -+#endif - } - - /* Searches the target address space for dyld itself, returning it in diff --git a/sys-devel/gdb-apple/files/gdb-apple-768-darwin-arch.patch b/sys-devel/gdb-apple/files/gdb-apple-768-darwin-arch.patch deleted file mode 100644 index 5442ba8ba636..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-768-darwin-arch.patch +++ /dev/null @@ -1,15 +0,0 @@ -* configure checks for /usr/bin/arch to determine whether "arch" is ok - to use, so don't rely on the path at runtime, since GNU arch doesn't - understand -arch at all (and only returns the current arch name) - ---- src/gdb/fork-child.c -+++ src/gdb/fork-child.c -@@ -243,7 +243,7 @@ - arch_string = "x86_64"; - #endif - if (arch_string != NULL) -- sprintf (shell_command, "%s exec arch -arch %s ", shell_command, arch_string); -+ sprintf (shell_command, "%s exec /usr/bin/arch -arch %s ", shell_command, arch_string); - else - strcat (shell_command, "exec "); - } diff --git a/sys-devel/gdb-apple/files/gdb-apple-962-darwin64.patch b/sys-devel/gdb-apple/files/gdb-apple-962-darwin64.patch deleted file mode 100644 index 4417cee76e4d..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-962-darwin64.patch +++ /dev/null @@ -1,17 +0,0 @@ -* todo: extend for powerpc64 also - ---- src/bfd/config.bfd.orig 2009-06-23 11:05:43 +0200 -+++ src/bfd/config.bfd 2009-06-23 11:05:47 +0200 -@@ -500,6 +500,12 @@ - targ_archs="bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch" - targ_underscore=yes - ;; -+ x86_64-*-darwin*) -+ targ_defvec=mach_o_le_vec -+ targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec" -+ targ_archs="bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch" -+ targ_underscore=yes -+ ;; - i[3-7]86-sequent-bsd*) - targ_defvec=i386dynix_vec - targ_underscore=yes diff --git a/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch b/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch deleted file mode 100644 index 05a088b93fb3..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-962-darwin8.patch +++ /dev/null @@ -1,15 +0,0 @@ -* 10.4 doesn't have posix spawn, but fortunately it's only used on ARM - (iPhone), so we can still compile it - ---- src/gdb/macosx/macosx-nat-inferior.c -+++ src/gdb/macosx/macosx-nat-inferior.c -@@ -58,7 +58,9 @@ - #include <sys/sysctl.h> - #include <sys/proc.h> - #include <mach/mach_error.h> -+#ifdef TARGET_ARM - #include <spawn.h> -+#endif - - #include "macosx-nat-dyld.h" - #include "macosx-nat-inferior.h" diff --git a/sys-devel/gdb-apple/files/gdb-apple-962-demangle.patch b/sys-devel/gdb-apple/files/gdb-apple-962-demangle.patch deleted file mode 100644 index a302ce56ec91..000000000000 --- a/sys-devel/gdb-apple/files/gdb-apple-962-demangle.patch +++ /dev/null @@ -1,22 +0,0 @@ -in 32-bits mode this goes /just/ right, in 64-bits mode Portage aborts -because objc_demangle is implicitly turned into a pointer - ---- src/gdb/maint.c.orig 2009-06-23 11:12:15 +0200 -+++ src/gdb/maint.c 2009-06-23 11:19:58 +0200 -@@ -31,6 +31,7 @@ - #include "symtab.h" - #include "gdbtypes.h" - #include "demangle.h" -+#include "objc-lang.h" - #include "gdbcore.h" - #include "expression.h" /* For language.h */ - #include "language.h" -@@ -167,7 +168,7 @@ - switch (current_language->la_language) - { - case language_objc: -- demangled = objc_demangle (args); -+ demangled = objc_demangle (args, 0); - break; - case language_objcplus: - case language_cplus: |