Re: [RFC/RFA] add struct parse_context to all command functions

Daniel Jacobowitz
2008-10-21T18:18:22Z

On Tue, Oct 21, 2008 at 08:05:21PM +0200, Ulrich Weigand wrote:
> FWIW I'd also prefer this option.

Listening to Tom talk about this I've started to wonder if it's
necessary... do we have a unified vision on where the global state
accesses are OK?

GDB is single threaded. I anticipate it will remain so. So, having
the functions which implement user interface commands read global
state doesn't seem like a big problem - unlike the expression parser.

--
Daniel Jacobowitz
CodeSourcery