aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-22 11:23:54 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-22 11:23:54 +0000
commitfef84cc41a994088025afdea49e888dced838724 (patch)
tree3d7aa981994be3926d4cedeff0bd4e3a7b283b98 /gdb/partial-stab.h
parent6ac0534341778dc11cec09f8f51b402d90e2d56f (diff)
downloadgdb-fef84cc41a994088025afdea49e888dced838724.zip
gdb-fef84cc41a994088025afdea49e888dced838724.tar.gz
gdb-fef84cc41a994088025afdea49e888dced838724.tar.bz2
* 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.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 5b36a25..2c2c0f8 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)