This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [discuss] Support for reverse-execution
On Fri, May 20, 2005 at 02:22:22PM +0200, Johan Rydberg wrote:
> >>+extern enum step_direction_kind step_direction;
> >
> >Yuk! a global variable!
>
> I though it was OK since other variables in this context
> are global, such as step_range_start and step_frame_id.
This code goes back a long, long way. We're trying to improve it,
which means not adding more globals :-)
--
Daniel Jacobowitz
CodeSourcery, LLC