From: Andi Kleen <andi@firstfloor.org>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Should a x86 gdb work under an x86_64 kernel?
Date: Mon, 03 Mar 2008 12:56:00 +0100 [thread overview]
Message-ID: <p73zltg6my7.fsf@bingen.suse.de> (raw)
In-Reply-To: <E1JTeeF-0005dk-Nv@closure.thunk.org> (Theodore Ts'o's message of "Mon\, 25 Feb 2008 09\:49\:43 -0500")
"Theodore Ts'o" <tytso@mit.edu> writes:
> 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?
It's clearly a bug. x86-64 compat user space should be 99+% compatible
and running full 32bit user land with a 64bit kernel is supposed to work.
The main exceptions are a few programs that rely on the 3GB address space
(these can be used with linux32 --3gb), some programs which
make bogus assumptions about /proc,/sys which cannot be fixed
and a few programs which use obscure driver specific ioctls with
no compat wrapper.
-Andi
prev parent reply other threads:[~2008-03-03 11:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 14:49 Should a x86 gdb work under an x86_64 kernel? Theodore Ts'o
2008-02-25 16:14 ` Jeff Dike
2008-03-03 11:56 ` Andi Kleen [this message]
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=p73zltg6my7.fsf@bingen.suse.de \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/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