aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile-mem.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-06-16 18:49:25 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-06-16 18:49:25 +0000
commit7eedccfa2afb7a44b513282cb138d85cde1f7f41 (patch)
treeca021f970e20247ff72764df9982ce692250b94d /gdb/symfile-mem.c
parent19ef5c713c0116f2e15fea28168614d7894b613a (diff)
downloadgdb-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/symfile-mem.c')
-rw-r--r--gdb/symfile-mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c
index e336350..0c0640f 100644
--- a/gdb/symfile-mem.c
+++ b/gdb/symfile-mem.c
@@ -107,8 +107,8 @@ symbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr, char *name,
++i;
}
- objf = symbol_file_add_from_bfd (nbfd, from_tty,
- sai, 0, OBJF_SHARED);
+ objf = symbol_file_add_from_bfd (nbfd, from_tty ? SYMFILE_VERBOSE : 0,
+ sai, OBJF_SHARED);
/* This might change our ideas about frames already looked at. */
reinit_frame_cache ();