CORE_ADDR text_addr;
{
obj_private_data_t *obj_private;
+ struct section_addr_info section_addrs;
- so->objfile = symbol_file_add (name, from_tty, text_addr, 0, 0, 0, 0, 1);
+ memset (§ion_addrs, 0, sizeof (section_addrs));
+ section_addrs.text_addr = text_addr;
+ so->objfile = symbol_file_add (name, from_tty, §ion_addrs, 0, OBJF_SHARED);
so->abfd = so->objfile->obfd;
/* Mark this as a shared library and save private data.
if (exec_bfd == NULL)
{
- printf_unfiltered ("no exec file.\n");
+ printf_unfiltered ("No executable file.\n");
return;
}