+2014-12-18 Doug Evans <xdje42@gmail.com>
+
+ * infcmd.c (jump_command): Minor simplification.
+
2014-12-18 Doug Evans <xdje42@gmail.com>
* language.c (language_lookup_primitive_type): Renamed from
if (sfn != NULL)
{
+ struct obj_section *section;
+
fixup_symbol_section (sfn, 0);
- if (section_is_overlay (SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn)) &&
- !section_is_mapped (SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn)))
+ section = SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn);
+ if (section_is_overlay (section)
+ && !section_is_mapped (section))
{
if (!query (_("WARNING!!! Destination is in "
"unmapped overlay! Jump anyway? ")))