On Mon, 25 Oct 2010, David Daney wrote: > I don't think a 32-bit gdb can debug 64-bit processes :-(. And it should (assuming ptrace(2) gets things right) -- if what you say is true, then it's a bug rather than a deliberate design decision. To add some irony, MIPS GDB is always 64-bit internally. > > (gdb) r > > Starting program: /home/camm/gcl-2.6.8pre/unixport/saved_pre_gcl > > /home/wingsun/develop/build/gdb/gdb-6.8/gdb/mips-tdep.c:603: internal-error: > > bad register size > > A problem internal to GDB has been detected, > > further debugging may prove unreliable. Try a newer version though -- GDB 7.2 has been out for a (short) while now. You're missing 2.5 years of development. If still unsuccessful with a pristine release from ftp.gnu.org, then file a bug report at http://sourceware.org/gdb/bugs/. Maciej