b->type = bp_breakpoint;
update_breakpoint_locations (b, current_program_space,
- find_function_start_sal (resolved_pc, NULL, true),
+ find_function_start_sal (resolved_pc, true),
{});
}
symtab_and_line sal;
if (is_function && want_start_sal)
- sal = find_function_start_sal (func_addr, NULL, self->funfirstline);
+ sal = find_function_start_sal (func_addr, self->funfirstline);
else
{
sal.objfile = objfile;
/* See symtab.h. */
symtab_and_line
-find_function_start_sal (CORE_ADDR func_addr, obj_section *section,
- bool funfirstline)
+find_function_start_sal (CORE_ADDR func_addr, bool funfirstline)
{
symtab_and_line sal
- = find_function_start_sal_1 (func_addr, section, funfirstline);
+ = find_function_start_sal_1 (func_addr, nullptr, funfirstline);
/* find_function_start_sal_1 does a linetable search, so it finds
the symtab and linenumber, but not a symbol. Fill in the
extern symtab_and_line find_function_start_sal (symbol *sym, bool
funfirstline);
-/* Same, but start with a function address/section instead of a
- symbol. */
+/* Same, but start with a function address instead of a symbol. */
extern symtab_and_line find_function_start_sal (CORE_ADDR func_addr,
- obj_section *section,
bool funfirstline);
extern void skip_prologue_sal (struct symtab_and_line *);