From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2518 invoked by alias); 31 May 2012 10:29:01 -0000 Received: (qmail 2510 invoked by uid 22791); 31 May 2012 10:29:00 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yx0-f169.google.com (HELO mail-yx0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 10:28:40 +0000 Received: by yenm7 with SMTP id m7so748087yen.0 for ; Thu, 31 May 2012 03:28:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.175.10 with SMTP id ay10mr747082icb.14.1338460119756; Thu, 31 May 2012 03:28:39 -0700 (PDT) Received: by 10.64.95.97 with HTTP; Thu, 31 May 2012 03:28:39 -0700 (PDT) Date: Thu, 31 May 2012 10:29:00 -0000 Message-ID: Subject: the disassembly code by gdb is wrong,what is the reason? From: Tom Frank To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00153.txt.bz2 I want to debug the linux kernel code when it is setup in realmode ,but gdb can not working right for that,its diassemblely code is wrong, and the instruction address is computed for protect_mode . how can I do? thank you!