Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: gdb@sourceware.org
Subject: Debugging 64-bit programs using 32-bit GDB
Date: Tue, 09 Jul 2013 10:02:00 -0000	[thread overview]
Message-ID: <87r4f8oxo3.fsf@karetnikov.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

             reply	other threads:[~2013-07-09 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 10:02 Nikita Karetnikov [this message]
2013-07-24 14:33 ` Pedro Alves
2013-07-24 16:09   ` Doug Evans
2013-07-24 16:25     ` Pedro Alves
2013-07-24 17:14       ` Pedro Alves
2013-07-24 21:21   ` Maciej W. Rozycki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4f8oxo3.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox