diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-06-16 18:49:25 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-06-16 18:49:25 +0000 |
commit | 7eedccfa2afb7a44b513282cb138d85cde1f7f41 (patch) | |
tree | ca021f970e20247ff72764df9982ce692250b94d /gdb/machoread.c | |
parent | 19ef5c713c0116f2e15fea28168614d7894b613a (diff) | |
download | gdb-7eedccfa2afb7a44b513282cb138d85cde1f7f41.zip gdb-7eedccfa2afb7a44b513282cb138d85cde1f7f41.tar.gz gdb-7eedccfa2afb7a44b513282cb138d85cde1f7f41.tar.bz2 |
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.
Diffstat (limited to 'gdb/machoread.c')
-rw-r--r-- | gdb/machoread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c index d8d3bd2..78daa75 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -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; |