Skip to content

Commit 3115791

Browse files
committed
gdb:disable building gdbserver in crash-utility
The gdbserver is unused in crash-utility, but it is always built by default during crash building. Let's disable gdbserver building to save some time. There are several advantages, for example: [1] speed up crash building and save time [2] avoid some compilation issues [3] the following cross compile and ci will benefit from this. In addition, this is harmless for the old compilation methods. Signed-off-by: Lianbo Jiang <[email protected]>
1 parent bc1fc6a commit 3115791

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

gdb-16.2.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,3 +1879,15 @@
18791879
_rl_tracefp = 0;
18801880
return r;
18811881
}
1882+
--- gdb-16.2/configure.orig
1883+
+++ gdb-16.2/configure
1884+
@@ -3620,6 +3620,9 @@ case "${target}" in
1885+
;;
1886+
esac
1887+
1888+
+#disable gdbserver build in crash-utility
1889+
+enable_gdbserver=no
1890+
+
1891+
# Only allow gdbserver on some systems.
1892+
if test -d ${srcdir}/gdbserver; then
1893+
if test x$enable_gdbserver = x; then

0 commit comments

Comments
 (0)