* partial-stab.h ('f', 'F'): Don't reference pst->textlow if pst
authorJohn Gilmore <gnu@cygnus>
Thu, 22 Oct 1992 11:23:54 +0000 (11:23 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 22 Oct 1992 11:23:54 +0000 (11:23 +0000)
is null.
* tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP):  Remove -- it
causes problems in setting breakpoint in the right place in
functions with `float' args which are passed as doubles.
* xm-vaxbsd.h (MEM_FNS_DECLARED):  Avoid erroneous redecl's.
* config/rs6000.mh (NATDEPFILES):  Add corelow.o.

gdb/ChangeLog
gdb/partial-stab.h
gdb/tm-sun4sol2.h
gdb/xm-vaxbsd.h

index 5cd0f9e..35acf57 100644 (file)
@@ -1,3 +1,13 @@
+Thu Oct 22 03:14:36 1992  John Gilmore  (gnu@cygnus.com)
+
+       * partial-stab.h ('f', 'F'):  Don't reference pst->textlow if pst
+       is null.
+       * tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP):  Remove -- it 
+       causes problems in setting breakpoint in the right place in
+       functions with `float' args which are passed as doubles.
+       * xm-vaxbsd.h (MEM_FNS_DECLARED):  Avoid erroneous redecl's.
+       * config/rs6000.mh (NATDEPFILES):  Add corelow.o.
+
 Thu Oct 22 01:01:24 1992  Stu Grossman  (grossman at cygnus.com)
 
        * Makefile.in (HFILES):  Add nm-i386sco.h.
index 5b36a25..2c2c0f8 100644 (file)
@@ -489,7 +489,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #ifdef DBXREAD_ONLY
              /* Kludges for ELF/STABS with Sun ACC */
              last_function_name = namestring;
-             if (pst->textlow == 0)
+             if (pst && pst->textlow == 0)
                pst->textlow = CUR_SYMBOL_VALUE;
 #if 0
              if (startup_file_end == 0)
@@ -511,7 +511,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #ifdef DBXREAD_ONLY
              /* Kludges for ELF/STABS with Sun ACC */
              last_function_name = namestring;
-             if (pst->textlow == 0)
+             if (pst && pst->textlow == 0)
                pst->textlow = CUR_SYMBOL_VALUE;
 #if 0
              if (startup_file_end == 0)
index c4f1921..dbf9ffb 100644 (file)
@@ -37,10 +37,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define        SUN_FIXED_LBRAC_BUG
 
-/* May be needed, may be not?  From Pace Willisson's port.  FIXME.  */
-#define PROLOGUE_FIRSTLINE_OVERLAP
-
-
 #if 0          /* Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */
 
 /* Offsets into jmp_buf.  Not defined by Sun, but at least documented in a
index ac5d9dc..c859b6b 100644 (file)
@@ -5,3 +5,6 @@
 #include <machine/endian.h>
 #include <machine/limits.h>
 #include "xm-vax.h"
+
+/* In non-ANSI compiles, memcpy and memset are still void *, not char *.  */
+#define MEM_FNS_DECLARED