aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-linux-nat.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/spu-linux-nat.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/spu-linux-nat.c')
-rw-r--r--gdb/spu-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c
index b8897e1..f6a3c79 100644
--- a/gdb/spu-linux-nat.c
+++ b/gdb/spu-linux-nat.c
@@ -372,7 +372,8 @@ spu_symbol_file_add_from_memory (int inferior_fd)
/* Open BFD representing SPE executable and read its symbols. */
nbfd = spu_bfd_open (addr);
if (nbfd)
- symbol_file_add_from_bfd (nbfd, 1, NULL, 1, 0);
+ symbol_file_add_from_bfd (nbfd, SYMFILE_VERBOSE | SYMFILE_MAINLINE,
+ NULL, 0);
}
@@ -600,4 +601,3 @@ _initialize_spu_nat (void)
/* Register SPU target. */
add_target (t);
}
-