From e84605cd7fe457f1b799cece7333e4b913024ab3 Mon Sep 17 00:00:00 2001
From: Kevin Buettner <kevinb@redhat.com>
Date: Tue, 22 Jan 2008 01:17:25 +0000
Subject: 	* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find 
 sigcontext struct via pointer. 	(struct sigframe comment): Update to
 show new field `psc'.

---
 gdb/mn10300-linux-tdep.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'gdb/mn10300-linux-tdep.c')

diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index 4861f295d73..f9bcbf98ddd 100644
--- a/gdb/mn10300-linux-tdep.c
+++ b/gdb/mn10300-linux-tdep.c
@@ -516,6 +516,7 @@ struct sigframe
 {
 	void (*pretcode)(void);
 	int sig;
+	struct sigcontext *psc;
 	struct sigcontext sc;
 	struct fpucontext fpuctx;
 	unsigned long extramask[_NSIG_WORDS-1];
@@ -625,6 +626,7 @@ am33_linux_sigframe_cache_init (const struct tramp_frame *self,
   if (self == &am33_linux_sigframe)
     {
       sc_base += 8;
+      sc_base = get_frame_memory_unsigned (next_frame, sc_base, 4);
     }
   else
     {
-- 
cgit v1.2.1