From ef98aa374ab77af0e11a4fae30e91ff916c7577f Mon Sep 17 00:00:00 2001
From: Atle Nissestad <atle@nissestad.no>
Date: Wed, 19 Dec 2007 20:05:01 +0100
Subject: [PATCH] gdbserver: Add missing ea-register in gdbserver regmap

Signed-off-by: Atle Nissestad <atle@nissestad.no>
---
 user/gdbserver/gdbserver/linux-nios2-low.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/user/gdbserver/gdbserver/linux-nios2-low.c b/user/gdbserver/gdbserver/linux-nios2-low.c
index 31cd895..adafd73 100644
--- a/user/gdbserver/gdbserver/linux-nios2-low.c
+++ b/user/gdbserver/gdbserver/linux-nios2-low.c
@@ -18,7 +18,7 @@ static int nios2_regmap[] =
   PTR_R16 * 4, PTR_R17 * 4, PTR_R18 * 4, PTR_R19 * 4,
   PTR_R20 * 4, PTR_R21 * 4, PTR_R22 * 4, PTR_R23 * 4,
            -1,          -1, PTR_GP  * 4, PTR_SP  * 4,
-           -1,          -1,          -1, PTR_RA  * 4,
+           -1, PTR_EA  * 4,          -1, PTR_RA  * 4,
            -1, PTR_ESTATUS*4,        -1,          -1,
            -1,          -1
 };
-- 
1.5.3.3

