qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] When the tlb_fill will be called from generated code?


From: Max Filippov
Subject: Re: [Qemu-devel] When the tlb_fill will be called from generated code?
Date: Wed, 28 Sep 2011 10:36:05 +0400
User-agent: KMail/1.13.7 (Linux/2.6.40.4-5.fc15.x86_64; KDE/4.6.5; x86_64; ; )

> > 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 via email to

[Prev in Thread] Current Thread [Next in Thread]