2009-06-16 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 16 Jun 2009 18:49:25 +0000 (18:49 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 16 Jun 2009 18:49:25 +0000 (18:49 +0000)
commit7eedccfa2afb7a44b513282cb138d85cde1f7f41
treeca021f970e20247ff72764df9982ce692250b94d
parent19ef5c713c0116f2e15fea28168614d7894b613a
2009-06-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

* solib.c (symbol_add_stub): New FLAGS parameter.
(solib_read_symbols): FROM_TTY -> FLAGS, call symbol_add_stub
directly.
(solib_add): Defer breakpoint_re_set until after all solibs.
* bsd-uthread.c (bsd_uthread_solib_loaded): Adjust.
* rs6000-nat.c (objfile_symbol_add): Adjust.
* symfile.c (syms_from_objfile): Merge parameters into ADD_FLAGS.
(new_symfile_objfile): Likewise.
(symbol_file_add_with_addrs_or_offsets): Likewise.
(symbol_file_add_from_bfd): Likewise.
(symbol_file_add): Likewise.
* symfile.h (enum symfile_add_flags): New. Adjust prototypes.
* symfile-mem.c (symbol_file_add_from_memory): Adjust.
* windows-nat.c (safe_symbol_file_add_stub): Adjust.
* machoread.c (macho_oso_symfile, macho_symfile_read): Adjust.
gdb/ChangeLog
gdb/bsd-uthread.c
gdb/machoread.c
gdb/rs6000-nat.c
gdb/solib.c
gdb/spu-linux-nat.c
gdb/symfile-mem.c
gdb/symfile.c
gdb/symfile.h
gdb/windows-nat.c