From: John Gilmore Date: Thu, 22 Oct 1992 11:23:54 +0000 (+0000) Subject: * partial-stab.h ('f', 'F'): Don't reference pst->textlow if pst X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fef84cc41a994088025afdea49e888dced838724;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5cd0f9ee307..35acf57ff16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 5b36a251fc3..2c2c0f8cc4f 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -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) diff --git a/gdb/tm-sun4sol2.h b/gdb/tm-sun4sol2.h index c4f19219780..dbf9ffbb383 100644 --- a/gdb/tm-sun4sol2.h +++ b/gdb/tm-sun4sol2.h @@ -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 diff --git a/gdb/xm-vaxbsd.h b/gdb/xm-vaxbsd.h index ac5d9dc07e3..c859b6bb955 100644 --- a/gdb/xm-vaxbsd.h +++ b/gdb/xm-vaxbsd.h @@ -5,3 +5,6 @@ #include #include #include "xm-vax.h" + +/* In non-ANSI compiles, memcpy and memset are still void *, not char *. */ +#define MEM_FNS_DECLARED