* breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
authorPeter Schauer <Peter.Schauer@mytum.de>
Tue, 27 Jul 1993 19:40:57 +0000 (19:40 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Tue, 27 Jul 1993 19:40:57 +0000 (19:40 +0000)
commit0eb22669dc339b3d59eba3324a8c77592e0395c3
treef145b3f7025ae5c96e46bf41fd5e859750fe5eb9
parent62cd4a20676cc2df7aafe16aeca3d66c8d57c0f7
* breakpoint.c (breakpoint_1):  Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
breakpoints.

Fix gdb core dumps after `file newfile' commands.
* symtab.h, symfile.c (clear_symtab_users):  New routine which
unconditionally clears symtab users. clear_symtab_users_once
commented out as it was a noop anyway.
* objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
* objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
* symfile.c (syms_from_objfile):  Install cleanups for errors during
symbol reading.
* coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
Lint cleanup code, call do_cleanups explicitly.
* symfile.c (symbol_file_add):  Call new_symfile_objfile and
reinit_frame_cache _after_ the new symbols are read in.
gdb/ChangeLog
gdb/dbxread.c
gdb/objfiles.c
gdb/xcoffexec.c
gdb/xcoffread.c