mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
2011-05-26 Pedro Alves <pedro@codesourcery.com>
gdb/ * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. Internal error on invalid values. * reverse.c: Don't handle EXEC_ERROR. * mi/mi-main.c: Don't handle EXEC_ERROR.
This commit is contained in:
@ -6920,12 +6920,10 @@ show_exec_direction_func (struct ui_file *out, int from_tty,
|
||||
case EXEC_REVERSE:
|
||||
fprintf_filtered (out, _("Reverse.\n"));
|
||||
break;
|
||||
case EXEC_ERROR:
|
||||
default:
|
||||
fprintf_filtered (out, _("Forward (target `%s' does not "
|
||||
"support exec-direction).\n"),
|
||||
target_shortname);
|
||||
break;
|
||||
internal_error (__FILE__, __LINE__,
|
||||
_("bogus execution_direction value: %d"),
|
||||
(int) execution_direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user