From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8nka-0004WL-9x for qemu-devel@nongnu.org; Wed, 28 Sep 2011 02:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8nkZ-0002oc-95 for qemu-devel@nongnu.org; Wed, 28 Sep 2011 02:36:12 -0400 Received: from mail-bw0-f45.google.com ([209.85.214.45]:54042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8nkZ-0002oV-1F for qemu-devel@nongnu.org; Wed, 28 Sep 2011 02:36:11 -0400 Received: by bkbzv15 with SMTP id zv15so7980485bkb.4 for ; Tue, 27 Sep 2011 23:36:09 -0700 (PDT) From: Max Filippov Date: Wed, 28 Sep 2011 10:36:05 +0400 References: <20110927041528.GA74070@cs.nctu.edu.tw> <20110928035102.GA64408@cs.nctu.edu.tw> In-Reply-To: <20110928035102.GA64408@cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201109281036.06021.jcmvbkbc@gmail.com> Subject: Re: [Qemu-devel] When the tlb_fill will be called from generated code? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?q?=E9=99=B3=E9=9F=8B=E4=BB=BB?= Cc: Jan Kiszka , qemu-devel@nongnu.org > > They are called from the places in TBs where > > tcg_gen_qemu_{ld,st}{8,16,32,64}{u,s} were injected. >=20 > So you mean __stl_mmu/__ldl_mmu are called from the code cache. > =20 > > > breakpoint on __stl_mmu/__ldl_mmu, but the backtrace can only show > > > something like, > > > > > > #0 =E9=8D=AE_stl_mmu (addr=3D196608, val=3D0, mmu_idx=3D0) at /tmp/ch= enwj/temp/qemu-0.13.0/softmmu_template.h:228 > > > #1 ?0x00000000400028e1 in ?? () > > > #2 ?0x00000000000000b4 in ?? () > > > #3 ?0xecc68ff412fa4137 in ?? () > > > #4 ?0x0000000000000000 in ?? () >=20 > Does those ?? mean since we are in the code cache, so GDB cannot > show their backtarce? Yes, at least for the frame #1. Addresses in frames #2-#4 don't look right,= probably because #1 does not have a stack frame. Thanks. =2D- Max