From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31878 invoked by alias); 14 Feb 2013 05:36:43 -0000 Received: (qmail 31812 invoked by uid 22791); 14 Feb 2013 05:36:41 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,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-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Feb 2013 05:36:35 +0000 Received: by mail-pa0-f42.google.com with SMTP id kq12so1147354pab.1 for ; Wed, 13 Feb 2013 21:36:34 -0800 (PST) X-Received: by 10.68.230.193 with SMTP id ta1mr447079pbc.103.1360820194483; Wed, 13 Feb 2013 21:36:34 -0800 (PST) Received: from localhost ([118.186.140.76]) by mx.google.com with ESMTPS id bi2sm88918168pab.18.2013.02.13.21.36.31 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 13 Feb 2013 21:36:33 -0800 (PST) Date: Thu, 14 Feb 2013 05:36:00 -0000 From: horseriver To: gdb@sourceware.org Subject: remote debug Message-ID: <20130213195214.GA2418@debian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2013-02/txt/msg00051.txt.bz2 hi:) I am using bochs gdbstub to debug kernel with gdb side ,communicating with remote protocol. I can not solve my problem ,described as below: When paging switch is off,at the gdb side ,the data stream from address 0x100055 is : 0xeb 0x00 0xb8 0x5e 0x00 0x10 0xc0 0xff, these data are right! But after switch the paging on , at the gdb side ,the data stream from address 0x100055 change to: 0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 0xc0 , these data are wrong. I suspect this linear address is not right dealed with. Is this gdb's problem or the bochs's problem? Is there advice here? thanks!