section_addrs.text_addr = text_addr;
so->objfile = symbol_file_add (so->so_name, so->from_tty,
- §ion_addrs,
- 0, 0, 0, 1);
+ §ion_addrs, 0, OBJF_SHARED);
return (1);
}
if (exec_bfd == NULL)
{
- printf_unfiltered ("No exec file.\n");
+ printf_unfiltered ("No executable file.\n");
return;
}
while ((so = find_solib (so)) != NULL)