if (current_program_space->symfile_object_file == nullptr)
return false;
- CORE_ADDR sym_addr;
+ CORE_ADDR sym_addr = 0;
const char *name = main_name ();
bound_minimal_symbol msymbol
= lookup_minimal_symbol (name, NULL,
/* Convert any function descriptor addresses into the actual function
code address. */
- sym_addr = gdbarch_convert_from_func_ptr_addr
- (get_frame_arch (this_frame), sym_addr, current_inferior ()->top_target ());
+ sym_addr = (gdbarch_convert_from_func_ptr_addr
+ (get_frame_arch (this_frame), sym_addr,
+ current_inferior ()->top_target ()));
return sym_addr == get_frame_func (this_frame);
}