Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756366AbYBYQOp (ORCPT ); Mon, 25 Feb 2008 11:14:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755530AbYBYQOe (ORCPT ); Mon, 25 Feb 2008 11:14:34 -0500 Received: from saraswathi.solana.com ([198.99.130.12]:44415 "EHLO saraswathi.solana.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753567AbYBYQOe (ORCPT ); Mon, 25 Feb 2008 11:14:34 -0500 Date: Mon, 25 Feb 2008 11:14:08 -0500 From: Jeff Dike To: "Theodore Ts'o" Cc: linux-kernel@vger.kernel.org Subject: Re: Should a x86 gdb work under an x86_64 kernel? Message-ID: <20080225161408.GA7295@c2.user-mode-linux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 20 On Mon, Feb 25, 2008 at 09:49:43AM -0500, Theodore Ts'o wrote: > 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? Probably - UML broke too. Roland found the bug and posted a patch fairly quickly - http://marc.info/?l=linux-kernel&m=120365510230307&q=raw Jeff -- Work email - jdike at linux dot intel dot com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/