aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-09-21 17:44:05 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-09-21 17:44:05 +0000
commit397358d9aca10667451f7667852bee2f27b617c0 (patch)
tree981bafa471a9264c2cb42c21ecdff0f314dd0624 /gnu/usr.bin/gdb
parent68c7542edfe81f74ac57cf5b09c5bc872754c462 (diff)
downloadsrc-397358d9aca10667451f7667852bee2f27b617c0.tar.gz
src-397358d9aca10667451f7667852bee2f27b617c0.zip
Disable sbrk() use in GNU tools.
We're studing the possibility of deprecating sbrk(). To make it easier we're removing unnecessicary uses in the base system. None of these tools require sbrk(), but they agressively prefer it for no good reason. Reviewed by: andrew Approved by: re (kib) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16141
Notes
Notes: svn path=/head/; revision=338860
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/arch/amd64/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/arm/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/i386/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/mips/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/powerpc/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/powerpc64/config.h2
-rw-r--r--gnu/usr.bin/gdb/arch/sparc64/config.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/gnu/usr.bin/gdb/arch/amd64/config.h b/gnu/usr.bin/gdb/arch/amd64/config.h
index 674f81854935..6908c793ece9 100644
--- a/gnu/usr.bin/gdb/arch/amd64/config.h
+++ b/gnu/usr.bin/gdb/arch/amd64/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/arm/config.h b/gnu/usr.bin/gdb/arch/arm/config.h
index b2481f8b2a0d..863f2d9c701b 100644
--- a/gnu/usr.bin/gdb/arch/arm/config.h
+++ b/gnu/usr.bin/gdb/arch/arm/config.h
@@ -239,7 +239,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/i386/config.h b/gnu/usr.bin/gdb/arch/i386/config.h
index e849e0ad078d..3f7f579433d5 100644
--- a/gnu/usr.bin/gdb/arch/i386/config.h
+++ b/gnu/usr.bin/gdb/arch/i386/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/mips/config.h b/gnu/usr.bin/gdb/arch/mips/config.h
index 2b375a6f0cd2..c0b04cc5e550 100644
--- a/gnu/usr.bin/gdb/arch/mips/config.h
+++ b/gnu/usr.bin/gdb/arch/mips/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/powerpc/config.h b/gnu/usr.bin/gdb/arch/powerpc/config.h
index 37416a75593d..8686a99d1f56 100644
--- a/gnu/usr.bin/gdb/arch/powerpc/config.h
+++ b/gnu/usr.bin/gdb/arch/powerpc/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/powerpc64/config.h b/gnu/usr.bin/gdb/arch/powerpc64/config.h
index 58843fbb7417..6ec6560e4200 100644
--- a/gnu/usr.bin/gdb/arch/powerpc64/config.h
+++ b/gnu/usr.bin/gdb/arch/powerpc64/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
diff --git a/gnu/usr.bin/gdb/arch/sparc64/config.h b/gnu/usr.bin/gdb/arch/sparc64/config.h
index 974e4264d201..8bcfdb28c8f5 100644
--- a/gnu/usr.bin/gdb/arch/sparc64/config.h
+++ b/gnu/usr.bin/gdb/arch/sparc64/config.h
@@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
-#define HAVE_SBRK 1
+/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1