LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: linux-kernel@vger.kernel.org
Subject: Should a x86 gdb work under an x86_64 kernel?
Date: Mon, 25 Feb 2008 09:49:43 -0500	[thread overview]
Message-ID: <E1JTeeF-0005dk-Nv@closure.thunk.org> (raw)

Hi,

	I've noticed that if I try to use a 32-bit x86 gdb to debug a
32-bit program under a 64-bit x86_64 kernel, gdb (version 6.6-debian,
from Ubuntu Gutsy) immediately core dumps as soon as I run the test
program under the debugger.  Is this normal/expected/known bug?

	I haven't tried bisecting it yet, but it's been broken as early
as a little after 2.6.25-rc1, in late January.  But before I spend a
large amount of time doing the bisect, I thought I'd ask if anyone has
heard of this issue.  Does this sound familiar?

						- Ted

             reply	other threads:[~2008-02-25 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 14:49 Theodore Ts'o [this message]
2008-02-25 16:14 ` Jeff Dike
2008-03-03 11:56 ` Andi Kleen

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=E1JTeeF-0005dk-Nv@closure.thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Should a x86 gdb work under an x86_64 kernel?' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).