This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
The following patch fixes a problem in the dummy stackframe pushing/popping code in alpha-tdep.c. The original code (ab)uses the field iopt in the PDR struct from ../include/coff/sym.h to save away the fake fp. The problem is that this is a long (only a 32 bits on a 32 bit host). This means the vfp is hosed after returning from a "call" command. If we (ab)use cbLineOffet which is of type bfd_vma then things work better. John Rigby JRigby@Novell.com //#define PROC_DUMMY_FRAME(proc) ((proc)->pdr.iopt) /* frame for CALL_DUMMY */ #define PROC_DUMMY_FRAME(proc) ((proc)->pdr.cbLineOffset) /* frame for CALL_DUMMY */