Debugging 64-bit programs using 32-bit GDB

Nikita Karetnikov <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Is it possible to debug a 64-bit executable ('bin/guile' [1]) using
32-bit GDB?  (I use GNU/Linux.)

I've tried to configure GDB 7.6 with '--enable-64-bit-bfd' (see [2]),
but it still shows "mips-tdep.c:709: internal-error: bad register
size".

[1] http://www.fdn.fr/~lcourtes/tmp/guile-static-stripped-2.0.9-mips64el-linux-gnuabi64.tar.xz
[2] http://www.linux-mips.org/archives/linux-mips/2010-10/msg00336.html
signature.asc (application/pgp-signature, 835 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJR2+CQAAoJEM+IQzI9IQ38XKcP/08TXWULlaH2+BiLavBLvw+7
6ooM3HeDh7UzYvekTj36wdK8szsBxDmtbS+ucTi7De2YscRNV3Hfiowqkjl19c6P
NOoNjR1iQSRcaA6I6P4SMr/bFGmrMFlb87zmoeATGepebbiCl2bFSE96ANaUlCXP
v+9+qQ01VG32jaKwqvUQJV9qucR3EXB/6N4zsPzPJvJRfjGWp1b7wpCQaRt2e0AQ
bobMLH9OiDtTvCemNp8+UrGL72BHvW6TbyWqte31boIMRkRZ6HzbJkhNBslVvn4q
HEg47oOza8DcVl1Yj3f+qAifjKSYQAmxQSkgDEwfVDCiLgoD5TAztFvw0BoKjTlG
xuyJGkAKP9IhN4wEDhfoyR61rGJ3QO5ELz7a65+md0X1lL/nT3xS485PIGQM/w2g
7PIrlZEtXKQ+U+Lt5D0dygW1AM/RP5h38/SZTx7CvENzY0Hhs8s+ASmDrOIKO3Wk
ubVVR2jtgOTMHIolwTH511TyFNfawZ9H3uR1He1Of8mw1S3gt+FkhdEE0nyGVIEZ
wM3RhG5LakH2cAxk8B0F/7o7TjTAb3+uipcXH4yeA9U1Zp+ZqiSflD8ZzecW1VZC
8i87n5lU7L56QSYmLQI2z2B9jbmn/ppitKXaf95K0ZA9J6WZwGv+ns1hX4oFofM2
3FeHoJP2kRHlLPg2RrQC
=hsRs
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.