1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:57:44 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -1,15 +1,14 @@
From 32bfc7a161e6bf10decbf29b31c7b547cf250d3a Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Sat, 19 Feb 2022 19:46:06 -0800
Subject: [PATCH 1/6] gdb: Disable xmalloc for alternate_signal_stack for
serenity
Subject: [PATCH] gdb: Disable xmalloc for alternate_signal_stack for serenity
---
gdbsupport/alt-stack.h | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)
diff --git a/gdbsupport/alt-stack.h b/gdbsupport/alt-stack.h
index 056ea41..b638533 100644
index 8ae229b..6e5b133 100644
--- a/gdbsupport/alt-stack.h
+++ b/gdbsupport/alt-stack.h
@@ -20,7 +20,9 @@
@ -78,6 +77,3 @@ index 056ea41..b638533 100644
stack_t m_old_stack;
#endif
};
--
2.32.0

View file

@ -1,7 +1,7 @@
From 883a25f5ed8fd8f13b8e30aed3a25001839d892c Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Tue, 28 Dec 2021 04:35:47 -0800
Subject: [PATCH 2/6] serenity: Add basic ptrace based native target for
Subject: [PATCH] serenity: Add basic ptrace based native target for
SerenityOS/i386
---
@ -55,7 +55,7 @@ index e94a19b..06b87ca 100644
xtensa*-*-linux*) gdb_host=linux ;;
diff --git a/gdb/configure.nat b/gdb/configure.nat
index e34cccf..38b687e 100644
index f48fbda..6a0115f 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -86,6 +86,9 @@ case ${gdb_host} in
@ -269,7 +269,7 @@ index 0000000..4ee3fba
+
+#endif /* i386-serenity-tdep.h */
diff --git a/gdb/osabi.c b/gdb/osabi.c
index aabf895..28789e8 100644
index 40c86e7..2f4423c 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -82,6 +82,7 @@ static const struct osabi_names gdb_osabi_names[] =
@ -281,7 +281,7 @@ index aabf895..28789e8 100644
{ "<invalid>", NULL }
};
diff --git a/gdb/osabi.h b/gdb/osabi.h
index 1ecbed4..73c5549 100644
index be01673..36471d8 100644
--- a/gdb/osabi.h
+++ b/gdb/osabi.h
@@ -46,6 +46,7 @@ enum gdb_osabi
@ -398,6 +398,3 @@ index 0000000..43048c6
+extern void serenity_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch);
+
+#endif /* serenity-tdep.h */
--
2.32.0

View file

@ -1,7 +1,7 @@
From e87fd74df2c7fcb4b146eb09b5b710a45003999a Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Sat, 19 Feb 2022 19:47:42 -0800
Subject: [PATCH 3/6] gdb: Add build support for SerenityOS
Subject: [PATCH] gdb: Add build support for SerenityOS
---
bfd/config.bfd | 9 +++++++++
@ -37,10 +37,10 @@ index 30087e3..11dc114 100644
i[3-7]86-*-lynxos*)
targ_defvec=i386_elf32_vec
diff --git a/gdbsupport/configure b/gdbsupport/configure
index a9dd02c..3c5bcf5 100755
index aad7469..4c45c27 100755
--- a/gdbsupport/configure
+++ b/gdbsupport/configure
@@ -8934,7 +8934,7 @@ $as_echo "$gdb_cv_cxx_std_thread" >&6; }
@@ -8958,7 +8958,7 @@ $as_echo "$gdb_cv_cxx_std_thread" >&6; }
# This check must be here, while LIBS includes any necessary
# threading library.
@ -64,6 +64,3 @@ index fffb91d..defc239 100755
;;
esac
--
2.32.0

View file

@ -1,7 +1,7 @@
From 7a5e11d2e9cbe98af96faa4835592686bf261a23 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Tue, 28 Dec 2021 04:39:25 -0800
Subject: [PATCH 4/6] serenity: Fix compiler -fpermissive warnings from using
Subject: [PATCH] serenity: Fix compiler -fpermissive warnings from using
latest GCC
---
@ -9,7 +9,7 @@ Subject: [PATCH 4/6] serenity: Fix compiler -fpermissive warnings from using
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index afa38de..247000a 100644
index d628886..5f9bba9 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -288,7 +288,7 @@ inf_ptrace_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
@ -48,6 +48,3 @@ index afa38de..247000a 100644
if (errno != 0)
break;
}
--
2.32.0

View file

@ -1,7 +1,7 @@
From a80fc99e8f2e1c5ac1620a8c6c26d65daa98204e Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Sun, 20 Feb 2022 00:32:51 -0800
Subject: [PATCH 5/6] serenity: Implement custom wait override for the
Subject: [PATCH] serenity: Implement custom wait override for the
serenity_nat_target
While troubleshooting why gdb wasn't working when attempting to debug
@ -109,6 +109,3 @@ index dcd24ce..9ae3b87 100644
};
#endif /* serenity-nat.h */
--
2.32.0

View file

@ -1,7 +1,7 @@
From 1285f88fcd5a8eabf5536e5af8015777f2a64117 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Sun, 20 Feb 2022 00:44:08 -0800
Subject: [PATCH 6/6] serenity: Implement mourn_inferior override for the
Subject: [PATCH] serenity: Implement mourn_inferior override for the
serenity_nat_target
We need to pass `WNOHANG` to our `waitpid(..)` call on SerenityOS,
@ -46,6 +46,3 @@ index 9ae3b87..35d7ffc 100644
private:
bool m_attach_before_continue_called { false };
};
--
2.32.0