mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 13:57:12 +08:00
infcmd.c (jump_command): Minor simplification.
gdb/ChangeLog: * infcmd.c (jump_command): Minor simplification.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2014-12-18 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* infcmd.c (jump_command): Minor simplification.
|
||||||
|
|
||||||
2014-12-18 Doug Evans <xdje42@gmail.com>
|
2014-12-18 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* language.c (language_lookup_primitive_type): Renamed from
|
* language.c (language_lookup_primitive_type): Renamed from
|
||||||
|
@ -1199,9 +1199,12 @@ jump_command (char *arg, int from_tty)
|
|||||||
|
|
||||||
if (sfn != NULL)
|
if (sfn != NULL)
|
||||||
{
|
{
|
||||||
|
struct obj_section *section;
|
||||||
|
|
||||||
fixup_symbol_section (sfn, 0);
|
fixup_symbol_section (sfn, 0);
|
||||||
if (section_is_overlay (SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn)) &&
|
section = SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn);
|
||||||
!section_is_mapped (SYMBOL_OBJ_SECTION (SYMBOL_OBJFILE (sfn), sfn)))
|
if (section_is_overlay (section)
|
||||||
|
&& !section_is_mapped (section))
|
||||||
{
|
{
|
||||||
if (!query (_("WARNING!!! Destination is in "
|
if (!query (_("WARNING!!! Destination is in "
|
||||||
"unmapped overlay! Jump anyway? ")))
|
"unmapped overlay! Jump anyway? ")))
|
||||||
|
Reference in New Issue
Block a user