aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-08-05 21:10:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-08-05 21:10:30 +0000
commitfb6d93b2a9f208a8f521f84ea18b2e9acb776dc3 (patch)
tree5dd9e363ad1d43f52bd58dff839eba0552470abb /gdb
parente6ad058ac447711a1175a07b168bfb27d3ed7ce8 (diff)
downloadgdb-fb6d93b2a9f208a8f521f84ea18b2e9acb776dc3.zip
gdb-fb6d93b2a9f208a8f521f84ea18b2e9acb776dc3.tar.gz
gdb-fb6d93b2a9f208a8f521f84ea18b2e9acb776dc3.tar.bz2
2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR build/2490 * solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are defined.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/solib-pa64.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aa5be9d..87eac7e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR build/2490
+ * solib-pa64.c: Only compile if both HAVE_ELF_HP_H and __LP64__ are
+ defined.
+
2008-08-05 Tom Tromey <tromey@redhat.com>
* bcache.c (deprecated_bcache_added): Initialize obstack.
diff --git a/gdb/solib-pa64.c b/gdb/solib-pa64.c
index 321441d..d5b718a 100644
--- a/gdb/solib-pa64.c
+++ b/gdb/solib-pa64.c
@@ -46,7 +46,7 @@
/* We can build this file only when running natively on 64-bit HP/UX.
We check for that by checking for the elf_hp.h header file. */
-#ifdef HAVE_ELF_HP_H
+#if defined(HAVE_ELF_HP_H) && defined(__LP64__)
/* FIXME: kettenis/20041213: These includes should be eliminated. */
#include <dlfcn.h>