* symtab.c (find_pc_symtab): Fix return of random value
to caller.
Sun Nov 15 09:22:09 1992 Fred Fish (fnf@cygnus.com)
+ * Makefile.in (VERSION): Bump to 4.7.2
+ * symtab.c (find_pc_symtab): Fix return of random value
+ to caller.
* Makefile.in (SFILES_MAINDIR): Add ch-exp.y.
* Makefile.in (YYFILES): Add ch-exp.tab.c.
* Makefile.in (YYOBJ): Add ch-exp.tab.o.
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
-VERSION = 4.7.1
+VERSION = 4.7.2
DIST=gdb
LINT=/usr/5bin/lint
{
register struct block *b;
struct blockvector *bv;
- register struct symtab *s = 0;
+ register struct symtab *s = NULL;
register struct partial_symtab *ps;
register struct objfile *objfile;
return (s);
}
+ s = NULL;
ps = find_pc_psymtab (pc);
if (ps)
{
printf_filtered ("(Internal error: pc 0x%x in read in psymtab, but not in symtab.)\n", pc);
s = PSYMTAB_TO_SYMTAB (ps);
}
+ return (s);
}
/* Find the source file and line number for a given PC value.