aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-17 14:22:25 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-04-17 14:22:25 +0000
commit0ca8834fefbac631db977455dad0582bd8a52760 (patch)
tree456d6d2295a06ef56dd06e7ca62192dac2120fba /gdb/configure.tgt
parent92dd451149162bb67d49460d7d906ecbd0abeb1b (diff)
downloadgdb-0ca8834fefbac631db977455dad0582bd8a52760.zip
gdb-0ca8834fefbac631db977455dad0582bd8a52760.tar.gz
gdb-0ca8834fefbac631db977455dad0582bd8a52760.tar.bz2
* configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if
--enable-64-bit-bfd. (sparc-*-linux*): Likewise.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 61dbf6a..e766d68 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -191,6 +191,10 @@ i[34567]86-*-linux*)
# Target: Intel 386 running GNU/Linux
gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o"
+ if test "x$enable_64_bit_bfd" = "xyes"; then
+ # Target: GNU/Linux x86-64
+ gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
+ fi
build_gdbserver=yes
;;
i[34567]86-*-gnu*)
@@ -410,6 +414,11 @@ sparc-*-linux*)
# Target: GNU/Linux SPARC
gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o"
+ if test "x$enable_64_bit_bfd" = "xyes"; then
+ # Target: GNU/Linux UltraSPARC
+ gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
+ sparc64-linux-tdep.o ${gdb_target_obs}"
+ fi
;;
sparc64-*-linux*)
# Target: GNU/Linux UltraSPARC