diff options
author | Kevin Buettner <kevinb@redhat.com> | 2008-01-22 01:17:25 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2008-01-22 01:17:25 +0000 |
commit | e84605cd7fe457f1b799cece7333e4b913024ab3 (patch) | |
tree | 11302917772761a669a5d7c34312077790a498f4 /gdb | |
parent | d514a12074d8c3dc3177500258240d59e700de1c (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/mn10300-linux-tdep.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6121e91..00767e5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-01-21 Kevin Buettner <kevinb@redhat.com> + + * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find + sigcontext struct via pointer. + (struct sigframe comment): Update to show new field `psc'. + 2008-01-21 Vladimir Prus <vladimir@codesourcery.com> * infrun.c (handle_inferior_event): If 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 { |