diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-17 14:22:25 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2009-04-17 14:22:25 +0000 |
commit | 0ca8834fefbac631db977455dad0582bd8a52760 (patch) | |
tree | 456d6d2295a06ef56dd06e7ca62192dac2120fba | |
parent | 92dd451149162bb67d49460d7d906ecbd0abeb1b (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/configure.tgt | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca6a0a7..be3eac2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-04-17 Joseph Myers <joseph@codesourcery.com> + + * configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if + --enable-64-bit-bfd. + (sparc-*-linux*): Likewise. + 2009-04-17 Eli Zaretskii <eliz@gnu.org> * go32-nat.c (go32_sysinfo): Update list of Windows versions of 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 |