* Re: [Qemu-trivial] [Qemu-devel] [PATCH for-1.4] target-cris: Build fix for debug output
[not found] <1359267965-19902-1-git-send-email-afaerber@suse.de>
@ 2013-02-04 13:42 ` Andreas Färber
2013-02-04 15:14 ` Edgar E. Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Färber @ 2013-02-04 13:42 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: qemu-trivial, qemu-devel
Am 27.01.2013 07:26, schrieb Andreas Färber:
> Around r3361 (81fdc5f8d2d681da8d255baf0713144f8656bac9) env->debug1 used
> to contain the address of an MMU fault. This is now written into
> env->pregs[PR_EDA] instead.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> target-cris/op_helper.c | 2 +-
> 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
Ping! Resent as part of my debug output RFC already, and it missed rc0.
CC'ing qemu-trivial as it should be easily confirmable by comparing the
mentioned commit with today's MMU fault handler (helper.c iirc).
Andreas
> diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c
> index 0f6a1ee..b580513 100644
> --- a/target-cris/op_helper.c
> +++ b/target-cris/op_helper.c
> @@ -60,7 +60,7 @@ void tlb_fill(CPUCRISState *env, target_ulong addr, int is_write, int mmu_idx,
> int ret;
>
> D_LOG("%s pc=%x tpc=%x ra=%p\n", __func__,
> - env->pc, env->debug1, (void *)retaddr);
> + env->pc, env->pregs[PR_EDA], (void *)retaddr);
> ret = cpu_cris_handle_mmu_fault(env, addr, is_write, mmu_idx);
> if (unlikely(ret)) {
> if (retaddr) {
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-trivial] [Qemu-devel] [PATCH for-1.4] target-cris: Build fix for debug output
2013-02-04 13:42 ` [Qemu-trivial] [Qemu-devel] [PATCH for-1.4] target-cris: Build fix for debug output Andreas Färber
@ 2013-02-04 15:14 ` Edgar E. Iglesias
0 siblings, 0 replies; 2+ messages in thread
From: Edgar E. Iglesias @ 2013-02-04 15:14 UTC (permalink / raw)
To: Andreas Färber; +Cc: qemu-trivial, qemu-devel
On Mon, Feb 04, 2013 at 02:42:55PM +0100, Andreas Färber wrote:
> Am 27.01.2013 07:26, schrieb Andreas Färber:
> > Around r3361 (81fdc5f8d2d681da8d255baf0713144f8656bac9) env->debug1 used
> > to contain the address of an MMU fault. This is now written into
> > env->pregs[PR_EDA] instead.
> >
> > Signed-off-by: Andreas Färber <afaerber@suse.de>
> > ---
> > target-cris/op_helper.c | 2 +-
> > 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> Ping! Resent as part of my debug output RFC already, and it missed rc0.
>
> CC'ing qemu-trivial as it should be easily confirmable by comparing the
> mentioned commit with today's MMU fault handler (helper.c iirc).
Applied, thanks.
Edgar
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-04 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1359267965-19902-1-git-send-email-afaerber@suse.de>
2013-02-04 13:42 ` [Qemu-trivial] [Qemu-devel] [PATCH for-1.4] target-cris: Build fix for debug output Andreas Färber
2013-02-04 15:14 ` Edgar E. Iglesias
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.