* stabsread.c (patch_block_status): Guard against null.
* Makefile.in (stabsread.o): Depend on gdb_assert.h.
+2007-09-04 Michael Snyder <msnyder@access-company.com>
+
+ * stabsread.c (patch_block_status): Guard against null.
+ * Makefile.in (stabsread.o): Depend on gdb_assert.h.
+
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
* printcmd.c (printf_command): Handle ptr_arg. Correct typo
$(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \
$(aout_stab_gnu_h) $(libaout_h) $(aout_aout64_h) $(gdb_stabs_h) \
$(buildsym_h) $(complaints_h) $(demangle_h) $(language_h) \
- $(doublest_h) $(cp_abi_h) $(cp_support_h) $(stabsread_h)
+ $(doublest_h) $(cp_abi_h) $(cp_support_h) $(stabsread_h) \
+ $(gdb_assert_h)
stack.o: stack.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
$(expression_h) $(language_h) $(frame_h) $(gdbcmd_h) $(gdbcore_h) \
$(target_h) $(source_h) $(breakpoint_h) $(demangle_h) $(inferior_h) \
#include "doublest.h"
#include "cp-abi.h"
#include "cp-support.h"
+#include "gdb_assert.h"
#include <ctype.h>
{
name = stabs->stab[ii];
pp = (char *) strchr (name, ':');
+ gdb_assert (pp); /* Must find a ':' or game's over. */
while (pp[1] == ':')
{
pp += 2;