This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Progress on SPARC


   Date: Sun, 2 Nov 2003 16:31:47 -0500
   From: Ben Collins <bcollins@debian.org>

   Does the 64-bit gdb support debugging 32-bit binaries? I ask, because
   Dave Miller's work getting GDB to support 64-bit sparc binaries did in
   fact support debugging 32-bit binaries.

Yes it does.  It mostly works, and running the testsuite in a 32-bit
environment on a 64-bit GDB doesn't produce results that are much
worse than running the testsuite on a 32-bit GDB.  The 64-bit GDB
doesn't read 32-bit core files right now, but I should be able to fix
that soon after I merge the SPARC-branch into mainline.  Debugging
32-bit threaded apps with a 64-bit GDB doesn't work too well either.
This will be much harder too fix since we have absolutely no support
for cross-platform threads debugging on Linux.

FYI, a very recent glibc should address the 32x64 libthread-db problems. My amd64-gdb branch gave identical results to a straight i386 GDB.


Dave's GDB probably has the same problems.

Yes, and more.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]