[pushed,2/2] gdb/configure.ac: remove elf_hp.h check

Message ID 20241202170231.1102744-2-simon.marchi@polymtl.ca
State New
Headers
Series [pushed,1/2] gdb, gdbserver, gdbsupport: flatten and sort some list in configure files |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Simon Marchi Dec. 2, 2024, 5:02 p.m. UTC
  The comment says this is for HP/UX, which is no longer supported.  There
should be no functional changes with this, since nothing checks
HAVE_ELF_HP_H.

Change-Id: Ie897fc64638c9fea28463e1bf69e450c3673fd84
---
 gdb/config.in    | 3 ---
 gdb/configure    | 2 --
 gdb/configure.ac | 2 --
 3 files changed, 7 deletions(-)
  

Patch

diff --git a/gdb/config.in b/gdb/config.in
index 59a5da39553f..187b42ca29b7 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -181,9 +181,6 @@ 
 /* Define if <sys/procfs.h> has elf_fpregset_t. */
 #undef HAVE_ELF_FPREGSET_T
 
-/* Define to 1 if you have the <elf_hp.h> header file. */
-#undef HAVE_ELF_HP_H
-
 /* Define to 1 if your system has the etext variable. */
 #undef HAVE_ETEXT
 
diff --git a/gdb/configure b/gdb/configure
index 4c498a880233..138c2a153b7b 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -29187,9 +29187,7 @@  $as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 fi
 
-# elf_hp.h is for HP/UX 64-bit shared library support.
 for ac_header in  \
-  elf_hp.h \
   machine/reg.h \
   nlist.h \
   ptrace.h \
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 72e0e5662dda..d638b8f3c8e3 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1294,9 +1294,7 @@  AC_SUBST(SRCHIGH_CFLAGS)
 # ------------------------- #
 
 AC_HEADER_STDC
-# elf_hp.h is for HP/UX 64-bit shared library support.
 AC_CHECK_HEADERS([ \
-  elf_hp.h \
   machine/reg.h \
   nlist.h \
   ptrace.h \