From 68b826dafff940839fae71cbb9b4cc6d64dae0e9 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 30 Aug 2019 19:35:21 +0000 Subject: project: gdb bits: applied new directory layout (./overlay). --- patches/gdb-7.12.midipix.patch | 102 ----------------------------------------- 1 file changed, 102 deletions(-) (limited to 'patches/gdb-7.12.midipix.patch') diff --git a/patches/gdb-7.12.midipix.patch b/patches/gdb-7.12.midipix.patch index feca3b1..ac316ac 100644 --- a/patches/gdb-7.12.midipix.patch +++ b/patches/gdb-7.12.midipix.patch @@ -94,16 +94,6 @@ diff -ru --new-file a/config.sub b/config.sub | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ -diff -ru --new-file a/gdb/config/i386/midipix64.mh b/gdb/config/i386/midipix64.mh ---- a/gdb/config/i386/midipix64.mh 1970-01-01 00:00:00.000000000 +0000 -+++ b/gdb/config/i386/midipix64.mh 2019-06-03 23:33:23.657405443 +0000 -@@ -0,0 +1 @@ -+ -diff -ru --new-file a/gdb/config/i386/midipix.mh b/gdb/config/i386/midipix.mh ---- a/gdb/config/i386/midipix.mh 1970-01-01 00:00:00.000000000 +0000 -+++ b/gdb/config/i386/midipix.mh 2019-06-03 23:33:15.317404098 +0000 -@@ -0,0 +1 @@ -+ diff -ru --new-file a/gdb/configure.host b/gdb/configure.host --- a/gdb/configure.host 2016-08-01 15:50:20.000000000 +0000 +++ b/gdb/configure.host 2019-06-03 23:32:57.637401253 +0000 @@ -246,98 +236,6 @@ diff -ru --new-file a/gdb/Makefile.in b/gdb/Makefile.in ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES) -diff -ru --new-file a/gdb/amd64-winnt-tdep.c b/gdb/amd64-winnt-tdep.c ---- a/gdb/amd64-winnt-tdep.c 1970-01-01 00:00:00.000000000 +0000 -+++ b/gdb/amd64-winnt-tdep.c 2019-06-04 16:22:12.929814200 +0000 -@@ -0,0 +1,47 @@ -+#include "defs.h" -+#include "osabi.h" -+#include "frame-unwind.h" -+#include "windows-tdep.h" -+#include "amd64-windows-tdep.c" -+ -+#define amd64_winnt_push_dummy_call amd64_windows_push_dummy_call -+#define amd64_winnt_return_value amd64_windows_return_value -+#define amd64_winnt_skip_trampoline_code amd64_windows_skip_trampoline_code -+ -+#define amd64_winnt_skip_prologue amd64_windows_skip_prologue -+#define amd64_winnt_skip_main_prologue amd64_skip_main_prologue -+ -+static void -+amd64_winnt_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) -+{ -+ /* abi */ -+ amd64_init_abi (info, gdbarch); -+ windows_init_abi (info, gdbarch); -+ -+ /* out-of-band function calls */ -+ set_gdbarch_push_dummy_call (gdbarch, amd64_winnt_push_dummy_call); -+ set_gdbarch_return_value (gdbarch, amd64_winnt_return_value); -+ set_gdbarch_skip_trampoline_code (gdbarch, amd64_winnt_skip_trampoline_code); -+ -+ /* skip prologue methods */ -+ set_gdbarch_skip_prologue (gdbarch, amd64_windows_skip_prologue); -+ set_gdbarch_skip_main_prologue (gdbarch, amd64_skip_main_prologue); -+ -+ /* todo: SEH unwinder */ -+ frame_unwind_append_unwinder (gdbarch, 0); -+ -+ /* todo: inferior-specific, dynamically detected size of long */ -+ set_gdbarch_long_bit (gdbarch, 64); -+} -+ -+extern initialize_file_ftype _initialize_amd64_winnt_tdep; -+ -+void -+_initialize_amd64_winnt_tdep (void) -+{ -+ gdbarch_register_osabi( -+ bfd_arch_i386, -+ bfd_mach_x86_64, -+ GDB_OSABI_WINNT, -+ amd64_winnt_init_abi); -+} -diff -ru --new-file a/gdb/i386-winnt-tdep.c b/gdb/i386-winnt-tdep.c ---- a/gdb/i386-winnt-tdep.c 1970-01-01 00:00:00.000000000 +0000 -+++ b/gdb/i386-winnt-tdep.c 2019-06-04 14:43:15.890632100 +0000 -@@ -0,0 +1,37 @@ -+#include "defs.h" -+#include "osabi.h" -+#include "frame-unwind.h" -+#include "windows-tdep.h" -+ -+static void -+i386_winnt_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) -+{ -+ /* abi */ -+ windows_init_abi (info, gdbarch); -+ -+ /* out-of-band function calls */ -+ set_gdbarch_push_dummy_call (gdbarch, 0); -+ set_gdbarch_return_value (gdbarch, 0); -+ -+ /* progloue/trampoline methods */ -+ set_gdbarch_skip_main_prologue (gdbarch, 0); -+ set_gdbarch_skip_trampoline_code (gdbarch, 0); -+ -+ /* auto wide charset hack */ -+ set_gdbarch_auto_wide_charset (gdbarch, 0); -+ -+ /* unwainder */ -+ frame_unwind_append_unwinder (gdbarch, 0); -+} -+ -+extern initialize_file_ftype _initialize_i386_winnt_tdep; -+ -+void -+_initialize_i386_winnt_tdep (void) -+{ -+ gdbarch_register_osabi( -+ bfd_arch_i386, -+ 0, -+ GDB_OSABI_WINNT, -+ i386_winnt_init_abi); -+} diff -ru --new-file a/gdb/osabi.c b/gdb/osabi.c --- a/gdb/osabi.c 2016-08-01 15:50:20.000000000 +0000 +++ b/gdb/osabi.c 2019-06-04 00:54:53.410635600 +0000 -- cgit v1.2.3