All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Filippov <jcmvbkbc@gmail.com>
To: 陳韋任 <chenwj@iis.sinica.edu.tw>
Cc: Jan Kiszka <jan.kiszka@web.de>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] When the tlb_fill will be called from generated code?
Date: Wed, 28 Sep 2011 10:36:05 +0400	[thread overview]
Message-ID: <201109281036.06021.jcmvbkbc@gmail.com> (raw)
In-Reply-To: <20110928035102.GA64408@cs.nctu.edu.tw>

> > They are called from the places in TBs where
> > tcg_gen_qemu_{ld,st}{8,16,32,64}{u,s} were injected.
> 
>   So you mean __stl_mmu/__ldl_mmu are called from the code cache.
>  
> > > breakpoint on __stl_mmu/__ldl_mmu, but the backtrace can only show
> > > something like,
> > >
> > > #0 鍮_stl_mmu (addr=196608, val=0, mmu_idx=0) at /tmp/chenwj/temp/qemu-0.13.0/softmmu_template.h:228
> > > #1 ?0x00000000400028e1 in ?? ()
> > > #2 ?0x00000000000000b4 in ?? ()
> > > #3 ?0xecc68ff412fa4137 in ?? ()
> > > #4 ?0x0000000000000000 in ?? ()
> 
>   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.
-- Max

  reply	other threads:[~2011-09-28  6:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27  4:15 [Qemu-devel] When the tlb_fill will be called from generated code? 陳韋任
2011-09-27  7:06 ` Jan Kiszka
2011-09-27 11:02   ` 陳韋任
2011-09-27 11:29     ` Max Filippov
2011-09-28  3:51       ` 陳韋任
2011-09-28  6:36         ` Max Filippov [this message]
2011-09-29  3:40         ` Mulyadi Santosa
2011-09-29  3:45           ` 陳韋任
2011-09-27 17:10     ` Blue Swirl
2011-09-28  2:32       ` 陳韋任

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201109281036.06021.jcmvbkbc@gmail.com \
    --to=jcmvbkbc@gmail.com \
    --cc=chenwj@iis.sinica.edu.tw \
    --cc=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.