diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8502e69..46b2fe1 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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); } } |