* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
authorKevin Buettner <kevinb@redhat.com>
Tue, 22 Jan 2008 01:17:25 +0000 (01:17 +0000)
committerKevin Buettner <kevinb@redhat.com>
Tue, 22 Jan 2008 01:17:25 +0000 (01:17 +0000)
sigcontext struct via pointer.
(struct sigframe comment): Update to show new field `psc'.

gdb/ChangeLog
gdb/mn10300-linux-tdep.c

index 6121e91..00767e5 100644 (file)
@@ -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
index 4861f29..f9bcbf9 100644 (file)
@@ -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
     {