If the execution direction is set to reverse, using the command 'until' with no arguments will run the inferior to the end of the current function or the end of the execution history. We should identify that the execution is reversed and set the stepping range accordingly, instead of using the forward range step.