Skip to contentSkip to conversation

[4595] CRIS: Use $eda to instead of debug1 (removed) for fault addr.

Qemu-devel Edgar E. Iglesias 1 participant 1 message May 27, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4595

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4595
Author:   edgar_igl
Date:     2008-05-27 21:12:09 +0000 (Tue, 27 May 2008)

Log Message:
-----------
CRIS: Use $eda to instead of debug1 (removed) for fault addr.

Modified Paths:
--------------
trunk/linux-user/main.c

Modified: trunk/linux-user/main.c
===================================================================

linux-user/main.c +1 -1
@@ -1719,7 +1719,7 @@
                 info.si_errno = 0;
                 /* XXX: check env->error_code */
                 info.si_code = TARGET_SEGV_MAPERR;
-                info._sifields._sigfault._addr = env->debug1;
+                info._sifields._sigfault._addr = env->pregs[PR_EDA];
                 queue_signal(info.si_signo, &info);
             }
             break;