aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-linux-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2008-01-22 01:17:25 +0000
committerKevin Buettner <kevinb@redhat.com>2008-01-22 01:17:25 +0000
commite84605cd7fe457f1b799cece7333e4b913024ab3 (patch)
tree11302917772761a669a5d7c34312077790a498f4 /gdb/mn10300-linux-tdep.c
parentd514a12074d8c3dc3177500258240d59e700de1c (diff)
downloadgdb-e84605cd7fe457f1b799cece7333e4b913024ab3.zip
gdb-e84605cd7fe457f1b799cece7333e4b913024ab3.tar.gz
gdb-e84605cd7fe457f1b799cece7333e4b913024ab3.tar.bz2
* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
sigcontext struct via pointer. (struct sigframe comment): Update to show new field `psc'.
Diffstat (limited to 'gdb/mn10300-linux-tdep.c')
-rw-r--r--gdb/mn10300-linux-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mn10300-linux-tdep.c b/gdb/mn10300-linux-tdep.c
index 4861f29..f9bcbf9 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
{