Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 1 Dec 2001 05:17:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 1 Dec 2001 05:17:43 -0500 Received: from dobit2.rug.ac.be ([157.193.42.8]:896 "EHLO dobit2.rug.ac.be") by vger.kernel.org with ESMTP id ; Sat, 1 Dec 2001 05:17:27 -0500 Date: Sat, 1 Dec 2001 11:17:24 +0100 (MET) From: Frank Cornelis To: cc: Subject: ptrace on i386 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, In linux/arch/i386/kernel/ptrace.c next code is being used in the xxxreg functions: if (regno > GS*4) regno -= 2*4; Why this discontinuity? It doesn't prevent ORIG_EAX and EIP from being written and makes the defines CS, EIF, ... from linux/include/asm/ptrace.h useless. BTW: regno should really call reg_offset since it's no register number but an offset. Please CC me, Frank. - 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/