mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 09:58:33 +08:00
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.
This commit is contained in:
@ -406,7 +406,7 @@ macho_oso_symfile (struct objfile *main_objfile)
|
||||
bfd_close (member_bfd);
|
||||
}
|
||||
else
|
||||
symbol_file_add_from_bfd (member_bfd, 0, addrs, 0, 0);
|
||||
symbol_file_add_from_bfd (member_bfd, 0, addrs, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -429,7 +429,7 @@ macho_oso_symfile (struct objfile *main_objfile)
|
||||
continue;
|
||||
}
|
||||
|
||||
symbol_file_add_from_bfd (abfd, 0, addrs, 0, 0);
|
||||
symbol_file_add_from_bfd (abfd, 0, addrs, 0);
|
||||
}
|
||||
xfree (oso->symbols);
|
||||
xfree (oso->offsets);
|
||||
@ -592,7 +592,7 @@ macho_symfile_read (struct objfile *objfile, int mainline)
|
||||
oso_vector = NULL;
|
||||
|
||||
/* Now recurse: read dwarf from dsym. */
|
||||
symbol_file_add_from_bfd (dsym_bfd, 0, NULL, 0, 0);
|
||||
symbol_file_add_from_bfd (dsym_bfd, 0, NULL, 0);
|
||||
|
||||
/* Don't try to read dwarf2 from main file or shared libraries. */
|
||||
return;
|
||||
|
Reference in New Issue
Block a user